[fpc-devel] Changing transaction properties specific to IB when using IBConnection

Michalis Kamburelis michalis at camelot.homedns.org
Fri Mar 18 16:30:29 CET 2005


Oh, and here's one additional patch to sqldb.pp that improves (ok, ok:
*corrects*) my previous patch. This way FTrans is not freed each time
transaction ends, so properties of FTrans like IsolationLevel are
preserved, e.g. code like

      (Transaction.SQLHandle as TIBTrans).IsolationLevel := ilReadCommitted;
      Transaction.StartTransaction;
      ...
      Transaction.Commit;
      Transaction.StartTransaction;
      ...
      Transaction.Commit;

will create read committed transaction two times.

Michalis.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sqldb.pp.patch
Type: text/x-patch
Size: 968 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20050318/093feee3/attachment.bin>


More information about the fpc-devel mailing list