Search found 1891 matches

by marsupilami
24.05.2024, 08:22
Forum: ZeosLib 7.3/8.0 Forum
Topic: TZQuery Invalid token "STATUS" apostrophe
Replies: 4
Views: 153

Re: TZQuery Invalid token "STATUS" apostrophe

Hello Joe, this really is strange. In TZQuery the insert statement is auto-generated, how can i manipulate this ? I even don't know, why this " is auto-generated only for my "STATUS" field. Seems mysterious to me... You could use TZUpdateSQL to provide your own statements, so Zeos doe...
by marsupilami
23.05.2024, 15:16
Forum: ADO
Topic: Change timeOut
Replies: 1
Views: 177

Re: Change timeOut

Hello Enrique,

usually this would be part of the connection string. Mabe a look at https://www.connectionstrings.com/ can give you an idea? ;)

Please note: We want to discontinue support for ADO. You might want to check if your application works correctly with the OLEDB driver.

Best regards,

Jan
by marsupilami
22.05.2024, 12:59
Forum: ZeosLib 7.3/8.0 Forum
Topic: Sorting by calculated field does not work
Replies: 9
Views: 770

Re: Sorting by calculated field does not work

Hello,

there seems to be an hard to fix issue with the way we handle calculated fields. We are currently investigating this. I willanswe when we have a solution ready.

With best regards,

Jan
by marsupilami
21.05.2024, 18:13
Forum: ZeosLib 7.3/8.0 Forum
Topic: problem with postgresql inserts
Replies: 8
Views: 200

Re: problem with postgresql inserts

Hello marko, the PostgreSQL driver changed from scharacter bindings to binary bindings. There may be a problem when converting some data to the Postgres binary formats. One idea might be to first switch from inserting multiple rows to single rows, so we have a chance to figure out which value actual...
by marsupilami
21.05.2024, 18:03
Forum: ZeosLib 7.3/8.0 Forum
Topic: Exception. TZAbstractRODataset.GetRecord
Replies: 3
Views: 188

Re: Exception. TZAbstractRODataset.GetRecord

Hello :) For being able to do better debugs, I modified the Options in the >Configure "Build Lazarus"< Dialog from "-g -gl -O1" to "-gw3 -gl -O1". Also I modified all the Zeos packages to use the "Dwarf 3" debug type info. This can help. One note: Since I see ...
by marsupilami
17.05.2024, 13:08
Forum: ZeosLib 7.3/8.0 Forum
Topic: changed behavior for empty Strings and TZStoredProc on Zeos Ver8.0
Replies: 16
Views: 497

Re: changed behavior for empty Strings and TZStoredProc on Zeos Ver8.0

Hello,

the issue has been fixed. Please download a current snapshot of the 8.0-testing branch.

Best regards,

Jan
by marsupilami
16.05.2024, 16:55
Forum: ZeosLib 7.3/8.0 Forum
Topic: [Zeos 8.0] Packages for C++Builder
Replies: 13
Views: 1164

Re: [Zeos 8.0] Packages for C++Builder

Hello Marcelo,

I added the VER370 defie to the list of the problematic release too. I assume that is what Emarcadero uses for Delphi 12.1?

Best regards,

Jan
by marsupilami
16.05.2024, 16:46
Forum: ZeosLib 7.3/8.0 Forum
Topic: changed behavior for empty Strings and TZStoredProc on Zeos Ver8.0
Replies: 16
Views: 497

Re: changed behavior for empty Strings and TZStoredProc on Zeos Ver8.0

Hello, again your code needs to be different: ZStoredProc1.Close; ZStoredProc1.StoredProcName :='test_zeos_3proc'; ZStoredProc1.Params[0].value :='test_zeos'; ZStoredProc1.Prepare; ZStoredProc1.Open; memo1.Lines.Add(ZStoredProc1.Params[1].value); ZStoredProc1.Close; This time you are calling a store...
by marsupilami
16.05.2024, 15:16
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

will that work in a multi-layered system? Since the executedirect will be ran directly on the database before the query gets assembled and executed, some other query might be ran in the meantime, won't that cause issues? If you keep to the Zeos rules for multi threading, then yes - it should work. ...
by marsupilami
15.05.2024, 08:57
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 7.3 testers-thread
Replies: 286
Views: 46623

Re: Zeos 7.3 testers-thread

in lazarus 3.99 with fpc 3.2.2. no error, with fpc 3.3.1 access violation error I tried to run the test suite and have similar errors with Firebird 3. We do think this is a compiler problem but are not sure yet on how to proceed. If you need to work with Firebird on the trunk compiler, please switc...
by marsupilami
14.05.2024, 12:56
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 7.3 testers-thread
Replies: 286
Views: 46623

Re: Zeos 7.3 testers-thread

Hello, lazarus win32/win64 ver. 3.99 fpc 3.3.1 firebird 3.0 http://svn.code.sf.net/p/zeoslib/code-0/branches/8.0-patches error in file src\plain\ZPlainFirebird.pas function IMaster.getStatus(): IStatus; begin Result := MasterVTable(vTable).getStatus(Self); end; I am not sure what the problem is in t...
by marsupilami
14.05.2024, 12:10
Forum: ZeosLib 7.3/8.0 Forum
Topic: changed behavior for empty Strings and TZStoredProc on Zeos Ver8.0
Replies: 16
Views: 497

Re: changed behavior for empty Strings and TZStoredProc on Zeos Ver8.0

Hello, from the release notes: For database systems, where a return value is defined, like MS SQL Server, the return value has moved to ordinal position 0. This change affects dblib based drivers (MS SQL Server / Sybase Adaptive Server Enterprise) as well Oracle, MySQL / MariaDB, OLEDB, ODBC and ADO...
by marsupilami
13.05.2024, 09:10
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, maybe you should split your statements then: procedure TLicenca.LimparAuth; var teste: string; begin with FQuery do begin SQL.Clear; if not Schema.IsEmpty then FQuerry.Connection.Executedirect('SET search_path = ' + QuotedStr(Schema)); // <--- This is changed SQL.Add('DELETE FROM autorizacao'...
by marsupilami
10.05.2024, 18:43
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 8 bug in TZRawCharacterTransliterateOptions
Replies: 1
Views: 171

Re: Zeos 8 bug in TZRawCharacterTransliterateOptions

Hello Stefano,

I wonder about the use case for this. But there ist is - AssignTo for TZRawCharacterTransliterateOptions. Check the latest revision of the 8.0-patches branch.

Best regards,

Jan
by marsupilami
08.05.2024, 18:50
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 7.3 testers-thread
Replies: 286
Views: 46623

Re: Zeos 7.3 testers-thread

Hello Michal,

the warnings should be fixed now.

Best regards,

Jan