E&S CVS Commit: PEAK - Tentative SQL typemap support

pje at eby-sarna.com pje at eby-sarna.com
Sun Nov 10 15:28:00 EST 2002


Module Name:	PEAK
Committed By:	pje
Date:		Sun Nov 10 20:27:52 UTC 2002

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

Log Message:
Tentative SQL typemap support

It's going to be slower than the old way of returning rows, since it's
going to call something on each field of each row.  :(  I suppose I could
add code to skip the typemap work if all the converters are
'NullConverter', but such a condition seems too rare to be worth trying
to optimize for.  Most likely, if we have speed issues, we'll want to make
the converters themselves fast.


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

To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 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