Search found 1912 matches
- 22.09.2023, 10:10
- Forum: SQLite
- Topic: TZAbstractRODataset throws 'External: SIGSEGV'
- Replies: 1
- Views: 363
Re: TZAbstractRODataset throws 'External: SIGSEGV'
Hello RedHead, we don't support Code Typhoon. Zeos 7.3.0-alpha is - as the name says - an alpha version. This version is really old and was never meant to be included in any stable software. Please uninstall this version and check wether the problem also happens with the current 8.0-patches branch f...
- 22.09.2023, 10:05
- Forum: ZeosLib 7.2 Forum
- Topic: Dataset.Refresh and BookmarkValid problem
- Replies: 4
- Views: 695
Re: Dataset.Refresh and BookmarkValid problem
As far as I remember all bookmarks become invalid if you close and reopen (refresh) a dataset. You can solve what you are looking for is taking the value of all index fields prior and use TDataSet.Locate on the same fields after the refresh. This is correct. Bookmarks are only meant to be used whil...
- 20.09.2023, 08:27
- Forum: MySQL
- Topic: Delphi 2007 zeos 6.6.6 Mariadb 5.7 sql update problem
- Replies: 2
- Views: 1479
Re: Delphi 2007 zeos 6.6.6 Mariadb 5.7 sql update problem
Hello Daniele, You could hook a TZSqlMonitor to your connextion and see if the statement gets executed. If it is in the log, it gets executed and you will have to take a look at the database side. Also it makes ense to look at the transaction management: Maybe the statement gets executed but the tra...
- 05.09.2023, 08:31
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: "Operation not allowed in WRITE ONLY mode" with Firebird and BLOBs
- Replies: 1
- Views: 358
Re: "Operation not allowed in WRITE ONLY mode" with Firebird and BLOBs
Hello Siegbert, that sounds strange. I maintain an application with Firebiord and didn't see that problöem yet. A test case that demonstrates the problem really would help. Could you please make sure that you update to the latest Zeos 8.0 revision from SVN (branches/8.0-patches) or from Github (8.0-...
- 29.08.2023, 14:54
- Forum: ZeosLib 7.2 Forum
- Topic: Starting transaction fails with "SQL logic error"
- Replies: 7
- Views: 659
Re: Starting transaction fails with "SQL logic error"
Hmm - that sounds strange. Without a reproducible example it will be hard to debug. I could create a link on our nextcloud instance and send it to you via PN, so you could upload your project there. Could you create a log using TZSQLMonitor? Maybe that reveals something strange? With best regards, Jan
- 29.08.2023, 14:45
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Lost connection to database
- Replies: 1
- Views: 388
Re: Lost connection to database
Hello, the code you mention usually doesn't do any reconnection. It is meant to clean up memory only. I seem to remember that there is / was a function in older mysql versions that tries to reconnect to the database, in the event of a connection loss. But I think that was changed in modern versions ...
- 29.08.2023, 14:35
- Forum: ZDBC (ZEOS Database Connectivity)
- Topic: Delphi 11 exception
- Replies: 1
- Views: 779
Re: Delphi 11 exception
Hello Marco, "Requested database driver was not found" means that you try to use a driver that Zeos doesn't know. Given your information, I can only do assumptions here. I assume that with Delphi 10.4 you use Zeos 7.2 or something older? Master currently contains a version of Zeos 8.0. One...
- 16.08.2023, 11:42
- Forum: ZeosLib 7.2 Forum
- Topic: Starting transaction fails with "SQL logic error"
- Replies: 7
- Views: 659
Re: Starting transaction fails with "SQL logic error"
Hmmm - for me the following works as expected: procedure TForm1.Button1Click(Sender: TObject); var Conn: TZConnection; begin Conn := TZConnection.Create(self); Conn.Protocol := 'sqlite'; Conn.ControlsCodePage := cCP_UTF8; Conn.Database := 'D:\Projekte\Zeos\sqlite-x86-3390300\test.sqlite'; Conn.Libra...
- 14.08.2023, 16:11
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Lazarus : Can't find unit ZDbcDbLib used by ZAbstractConnection when compiling Zeos r8041
- Replies: 4
- Views: 551
Re: Lazarus : Can't find unit ZDbcDbLib used by ZAbstractConnection when compiling Zeos r8041
Hello JD,
did you change something in the ZEOS.INC file? For me the following works as expected:
Jan
did you change something in the ZEOS.INC file? For me the following works as expected:
- Install Debian 12
- Install FPC 3.2.2 / Lazarus 2.6.2 using fpcupdeluxe
- Install the latest Zeos 8 from SVN
Jan
- 14.08.2023, 13:44
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Lazarus : Can't find unit ZDbcDbLib used by ZAbstractConnection when compiling Zeos r8041
- Replies: 4
- Views: 551
Re: Lazarus : Can't find unit ZDbcDbLib used by ZAbstractConnection when compiling Zeos r8041
Hello JD,
which Linux distribution do you use and do you use the FPC and Lazarus version of that distribution or dou you install them yourself?
With best regards,
Jan
which Linux distribution do you use and do you use the FPC and Lazarus version of that distribution or dou you install them yourself?
With best regards,
Jan
- 14.08.2023, 13:39
- Forum: ZeosLib 7.2 Forum
- Topic: Starting transaction fails with "SQL logic error"
- Replies: 7
- Views: 659
Re: Starting transaction fails with "SQL logic error"
Hello Graham, I am not sure, if SQLite transaction support is started by default on Zeos 7.2. Could you please add the following line to TZConnection.Properties? ExtendedErrorMessage=1 This should enable SQLite extended error information. Maybe this will help in finding the problem. Best regards, Jan
- 10.08.2023, 10:33
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Lazarus - TZUpdateSQL not bringing its update fields selected
- Replies: 15
- Views: 817
Re: Lazarus - TZUpdateSQL not bringing its update fields selected
Hello Renato,
I think the starting point for thius would be ZUpdateSqlEditor.pas in src\component. I assume, it contains the editor window for TZUpdateSQL. I didn't work on that code (yet) so I don't know what it looks like in there.
Best regards,
Jan
I think the starting point for thius would be ZUpdateSqlEditor.pas in src\component. I assume, it contains the editor window for TZUpdateSQL. I didn't work on that code (yet) so I don't know what it looks like in there.
Best regards,
Jan
- 26.07.2023, 07:43
- Forum: PostgreSQL
- Topic: process "RAISE INFO" via zeoslib
- Replies: 1
- Views: 497
Re: process "RAISE INFO" via zeoslib
Hello iteh,
with current Zeos it simply isn't possible to use that mechanism. For me that clearly is a bug. You might want to check into doing your own notice processor or notice dispatcher. Simply replacing Zeos notice dispatcher and notice processor shouldn't do any harm.
With best regards,
Jan
with current Zeos it simply isn't possible to use that mechanism. For me that clearly is a bug. You might want to check into doing your own notice processor or notice dispatcher. Simply replacing Zeos notice dispatcher and notice processor shouldn't do any harm.
With best regards,
Jan
- 26.07.2023, 07:41
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Lazarus - TZUpdateSQL not bringing its update fields selected
- Replies: 15
- Views: 817
Re: Lazarus - TZUpdateSQL not bringing its update fields selected
Hello Renato,
unfortunately - no. There simply was no time to look at it yet.
With best regards,
Jan
unfortunately - no. There simply was no time to look at it yet.
With best regards,
Jan
- 25.07.2023, 16:06
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: PostgreSQL sslpassword
- Replies: 7
- Views: 670
Re: PostgreSQL sslpassword
Locked