[Lazarus] SQLTransaction won't start

Petr Hlozek petr at ok2cqr.com
Sat Mar 15 07:03:03 CET 2014


It won't start even when I execute a query. After q.open the
transaction is still not active. I think, it should start after
StartTransaction is called, not after first query.

Petr

2014-03-14 19:39 GMT+01:00 Marc Santhoff <M.Santhoff at web.de>:
> On Fr, 2014-03-14 at 18:37 +0100, Petr Hlozek wrote:
>> It's the name of database. My testing database is called "test". I
>> posted the table create command to infom about db engine I use for it.
>
> Oops. ;)
>
> Maybe the TSQLQuery instance hinders the transaction from goping active,
> because it's SQL is empty or similar.
>
> Marc




More information about the Lazarus mailing list