I'm currently using RAD Studio 11 / Delphi and have recently migrated all my databases from Firebird 3.x to 4.0 and up until now every program that I have migrated has worked without any problem at all. Today I'm in the process of working on another and so far the only things I've really had to update in any program is to copy the latest x64 fbclient.dll to the Win64\Debug program directory and to edit the server password (which is different from the password I used on 3.x) and everything worked just fine. But for some reason in this particular program when I execute a procedure that inserts some 20-25 records into a database and then I close the dataset and then close the TFDConnection to the server on the line of code where the connection is closed I'm getting this error message that I've never seen "FireDAC Phys FB Unable to find savepoint with the name SP-17 in transaction context". I searched this group and didn't find anyone else getting this error nor did Google find any references, anyone have an idea what the issue here is?
First keep in mind that this code has been working on Firebird 3.x with FireDAC since I migrated from the previous set of components to FireDAC in Delphi XE4; what I'm not sure of is if this is a problem with the FireDAC on RAD Studio Delphi 11 or a problem with Firebird 4.0.
this appears to be some problem between FireDAC and Firebird 4.0.
So the documentation on fbtracemgr is kind of skimpy and I wasn't able to get it to work mainly because in this example " fbtracemgr -SE service_mgr -START -NAME my_trace -CONFIG my_cfg.txt" it doesn't describe what the configuration of the "-CONFIG" file is supposed to be?
As far as I can tell to reproduce it all you need is Delphi 10.4.2 or 11 and create an application that connects to a database, open a dataset, start a transaction, insert a record, update the fields, applyupdates, commitupdates, close the dataset and that's when the error happens.
I read the README.trace_services.txt file and I created a fbtrace.conf file using the C example Trace connections and transactions in all databases except security database:<database>
enabled true
log_connections true
log_transactions true
</database>
<database security2.fdb>
enabled false
</database>However when I tried "fbtracemgr -SE service_mgr -START -NAME L:\Firebird\Tracelog.txt -CONFIG L:\Firebird\fbtrace.conf" it generated an error "Trace session ID 1 started Error creating trace session for service manager attachment: error while parsing trace configuration line 1: wrong section header, "database" or "service" is expected" and the config is straight out of the file. So what's the problem with this?
From FB doc: https://firebirdsql.org/refdocs/langrefupd21-release-savepoint.html
Unless ONLY is added, all the savepoints created after the named savepoint are released as well.
On 21 Nov 2021, at 10:20, Pavel Katalymov <pav...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/firebird-support/72f755d7-9cd3-40ad-afd4-e4a6e7cf5316n%40googlegroups.com.