E&S CVS Commit: PEAK - Support for executing SQL outside a transaction. Of all the databases we
tsarna at eby-sarna.com
tsarna at eby-sarna.com
Thu Dec 25 09:27:00 EST 2003
Module Name: PEAK
Committed By: tsarna
Date: Thu Dec 25 14:26:58 UTC 2003
Modified Files:
PEAK/src/peak/tools/n2: sql.py
Log Message:
Support for executing SQL outside a transaction. Of all the databases we
support currently only Sybase needs this, so the interface is a little
clunky in exchange for the interface for all the other databases being
more straightforward. Untested with Sybase so far, but here's the idea:
You are still in a transaction by default, and commit/abort begin a
new transaction. However, if you have not done anything in the current
transaction, you may use "\outside" to abort it without starting a new
transaction. You may then use "begin" to begin a transaction.
To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/tools/n2/sql.py.diff?r1=1.4&r2=1.5
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 PEAK/src/peak/tools/n2/sql.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
More information about the source-changes
mailing list