E&S CVS Commit: PEAK - SQL error handling and joinTxn() shortcut

pje at eby-sarna.com pje at eby-sarna.com
Sun Nov 10 16:14:00 EST 2002


Module Name:	PEAK
Committed By:	pje
Date:		Sun Nov 10 21:13:42 UTC 2002

Modified Files:
	PEAK: TODO.txt
	PEAK/src/peak/storage: SQL.py

Log Message:
SQL error handling and joinTxn() shortcut

* SQL errors are now logged; __traceback_info__ is set, although our
  current traceback formatter for logging doesn't use it yet.  We also
  maybe should log SQL warnings at LOG_WARNING level instead of LOG_ERROR.

* You can now supply joinTxn=(a true value) as a keyword arg to a SQL
  query executed on an SQLConnection, and the connection will join the
  transaction.  This seems cleaner in actual use than a separate .joinTxn()
  call.

* Fixed some issues with Gadlfy not implementing the full DBAPI - or even
  a decent fraction of it.  :(


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/TODO.txt.diff?r1=1.26&r2=1.27
http://cvs.eby-sarna.com/PEAK/src/peak/storage/SQL.py.diff?r1=1.21&r2=1.22

To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 PEAK/TODO.txt
cvs rdiff -r1.21 -r1.22 PEAK/src/peak/storage/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