Re: [Dbi-interbase-devel] Deadlocks nomore (patch)
Status: Beta
Brought to you by:
edpratomo
From: Flemming F. <di...@sw...> - 2000-09-25 19:24:08
|
"Mark D. Anderson" wrote: > > * Explicit commits/rollbacks always commit_transcation / > > rollback_transaction and then end the transaction, completely. > > * any operation that needs a query should check to see if one is active > > and start one if not. > > the above is how the new dbd driver works in autocommit mode, but not how > it used to work, and it was definitely a problem. i haven't ranted as much > about non-autocommit because i'm not using it that way. > > > I don't know if these changes would fix my immediate problem, but they are > > correct and I expect they will fix my problem. Enclosed is a patch against the latest version of dbi-interbase from cvs. The patch: * Fixes normal transaction mode (no more hanging on to transactions) * Does what you suggested with autocommit (no commit_retaining) * Works. The patch is in CVS here (until Ed merges it): http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/zepong/parts/DBD::InterBase/?cvsroot=zepong Please let me know if anyone finds a problem with the patch. |