6 Commits

Author SHA1 Message Date
Anthony Tuininga
2b30ecde28 Added support for connection.stmtcachesize which allows for both reading and
writing the size of the statement cache size. This parameter can make a huge
difference with the length of time taken to prepare statements. Added support
for setting the statement tag when preparing a statement. Both of these were
requested by Bjorn Sandberg who also provided an initial patch. Cleaned up some
error context strings as well.
2007-07-28 05:26:57 +00:00
Anthony Tuininga
39c33faea4 Added support for autocommit mode as requested by Ian Kelly. 2007-07-11 04:10:39 +00:00
Anthony Tuininga
686efca6a9 Free the row factory when the cursor is being freed; clear the row factory
when a new statement is prepared since it is very likely that the new statement
will not be compatible with the old and having to clear it manually each time
would be rather tedious.
2007-07-04 17:26:21 +00:00
Anthony Tuininga
eb18c5d52d Added attribute cursor.rowfactory which allows a method to be called for each
row that would be returned; this is about 20% faster than calling the method
in Python instead using the idiom [method(*r) for r in cursor].
2007-07-04 16:57:36 +00:00
Anthony Tuininga
5025b4eb22 Replaced all tabs with spaces. 2007-06-27 14:00:34 +00:00
Anthony Tuininga
104e11b67a Last public release from Computronix. 2007-06-13 21:15:16 +00:00