Search found 1891 matches

by marsupilami
19.04.2024, 10:20
Forum: ZeosLib 7.3/8.0 Forum
Topic: ERROR: cannot insert multiple commands into a prepared statement
Replies: 8
Views: 431

Re: ERROR: cannot insert multiple commands into a prepared statement

Hello :) this is a known issue. We changed to an API function that seems to prepare staements inernally although it isn't documented. Please add the emulate_prepares parameter to get your query working again: Query.SQL.Add('SET search_path = %s;' schema); Query.SQL.Add('SELECT * FROM %s;' tablename)...
by marsupilami
15.04.2024, 14:38
Forum: ZeosLib 7.3/8.0 Forum
Topic: Query doesn't close when SQL.Text assigned
Replies: 4
Views: 312

Re: Query doesn't close when SQL.Text assigned

Anyway, it looks like the deliberate change was that query is closed if assigned SQL.Text is different than previous one, but not close if assigned SQL.Text is the same? Yes - that is the deliberate change. There is some ressource intensive work that we have to do if the SQL changes. If you want to...
by marsupilami
14.04.2024, 11:39
Forum: ZeosLib 7.3/8.0 Forum
Topic: class "TZDoubleField" not found
Replies: 4
Views: 301

Re: class "TZDoubleField" not found

Hello cappelletto,

with persistent fields these things can happen. Zeos 8 introduced new field capabilitis and it changed the reules about which field type gets generated at which time.

Best regards,

Jan
by marsupilami
14.04.2024, 11:36
Forum: ZeosLib 7.3/8.0 Forum
Topic: Query doesn't close when SQL.Text assigned
Replies: 4
Views: 312

Re: Query doesn't close when SQL.Text assigned

Hello dseligo, How can I turn on behavior like it was in previous Zeos versions? I think you can't. This was an intentional change by Egonhugeist. See the following code from ZSqlStrings.pas: procedure TZSQLStrings.SetTextStr(const Value: string); begin if Trim(Value) <> Trim(Text) then //prevent re...
by marsupilami
10.04.2024, 09:17
Forum: ZeosLib 7.3/8.0 Forum
Topic: MySQL Sorting performance - readonly
Replies: 8
Views: 834

Re: MySQL Sorting performance - readonly

Hello Mark,

I sent a PM to you with alternate upload information.

Best regards,

Jan
by marsupilami
09.04.2024, 16:11
Forum: ZeosLib 7.3/8.0 Forum
Topic: MySQL Sorting performance - readonly
Replies: 8
Views: 834

Re: MySQL Sorting performance - readonly

Hello Mark,

do you have a test application and test data that you can share?

Best regards,

Jan
by marsupilami
08.04.2024, 08:53
Forum: Announcements
Topic: Release of Zeos 8.0.0
Replies: 5
Views: 5057

Release of Zeos 8.0.0

The Zeos Team is proud to announce the availability of Zeos 8.0.0 as a stable release. This is the newest stable version of Zeos. It deprecates Zeos 7.2, and any previous version of Zeos. We urge all people still using older versions of Zeos to upgrade. If you have any problems with Zeos 8.0, please...
by marsupilami
06.04.2024, 18:19
Forum: ZeosLib 7.3/8.0 Forum
Topic: Failed installation
Replies: 4
Views: 620

Re: Failed installation

It seem sthe problem was fixed upstream (Commit 886f91de). Unfortunately I cannot get Lazarus and FPC to build in their trunk versions so I cannot test easily.
by marsupilami
05.04.2024, 12:07
Forum: ZeosLib 7.3/8.0 Forum
Topic: Failed installation
Replies: 4
Views: 620

Re: Failed installation

Hello zeosbow, welcome to the forums :) You seem to use FPC trunk for compilation. We don't support FPC trunk because it is a moving target. The problem in this case is that they added a variant type (varUInt32) but didn't extend the TVarData record accordingly. I created a ticket to see if they wil...
by marsupilami
01.04.2024, 16:54
Forum: ZeosLib 7.3/8.0 Forum
Topic: Access Violation Zeos 8 Lazarus 3.2
Replies: 2
Views: 499

Re: Access Violation Zeos 8 Lazarus 3.2

Hello, I fixed this for Zeos 8 in rev. 8093. It should show up on github tomorrow.
by marsupilami
01.04.2024, 16:28
Forum: ZeosLib 7.3/8.0 Forum
Topic: Query with accents
Replies: 5
Views: 597

Re: Query with accents

Hello hamacker, I think the best way to operate on Lazarus is to work with UTF8 on all levels: ClientCodePage=UTF8 ControlsCodePage=cCP_UTF8 This way you don't have to change the RawCharacterTranslitarateOptions from the defaults and no character set transliteration needs to be done in your program ...
by marsupilami
01.04.2024, 16:20
Forum: ADO
Topic: Ado don't update aas must be
Replies: 14
Views: 1333

Re: Ado don't update aas must be

Hello kikep, soo - I tried to setup a tes environment but whatever I do - using the Zeos ODBC driver I get an access violation. (Access violation at address 754A45E0 in module 'KERNELBASE.dll'. Read from address 00000318.) What works for me is: Setup a DSN in the ODBC admin interface Use the Zeos Ol...
by marsupilami
27.03.2024, 11:38
Forum: ADO
Topic: Ado don't update aas must be
Replies: 14
Views: 1333

Re: Ado don't update aas must be

Hello kikep,

I wiull have to build some kind of test virtual machine to test this because I cannot install the software required on my production systems. That will take some time.

I will get back to you as soon as I have new results.

With best regards,

Jan
by marsupilami
27.03.2024, 11:36
Forum: PostgreSQL
Topic: connecting via unix socket to a non-standard port
Replies: 12
Views: 1296

Re: connecting via unix socket to a non-standard port

Hello iteh,

I am sorry for the delay. I am moving currently. I will check this during the easter holidays.

With best regards,

Jan
by marsupilami
27.03.2024, 11:34
Forum: ODBC
Topic: Can't connect via ODBC
Replies: 2
Views: 1481

Re: Can't connect via ODBC

Hello Vodnik, the ODBC drivers in Zeos only workes with ODBC connectrion strings until now (see https://www.connectionstrings.com). To connect to a DSN you would have to siupply a connection string like 'DSN=ODBC_Informix'. The change from today checks if there is a = in the database name. If there ...