[Lazarus] SQLTransaction won't start

Ludo Brands ludo.brands at free.fr
Sun Mar 16 13:32:23 CET 2014


On 03/16/2014 01:09 PM, Petr Hlozek wrote:
> Thank you Michael!
> 
> It there any way how to find out where was the problem? I'd like to
> backport the fix to the version I use.
> 
> 
> Petr
> 

2.6.2 didn't have transaction support for MySQL:

1122	function TConnectionName.StartdbTransaction(trans: TSQLHandle;
AParams : string): boolean;
1123	begin
1124	  // Do nothing
1125	end;

See
http://svn.freepascal.org/cgi-bin/viewvc.cgi/tags/release_2_6_2/packages/fcl-db/src/sqldb/mysql/mysqlconn.inc?revision=23532&view=markup

and

http://svn.freepascal.org/cgi-bin/viewvc.cgi/tags/release_2_6_4/packages/fcl-db/src/sqldb/mysql/mysqlconn.inc?revision=26871&view=markup

Ludo




More information about the Lazarus mailing list