7 Commits

Author SHA1 Message Date
Anthony Tuininga
3eb4d33c54 Added support for connection.ping() which can be used to test whether or not a
connection is still active or not.
2007-09-30 02:19:03 +00:00
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
e2f72d206e Only create a new tranasction handle if one is not already associated with the
connection. Thanks to Andreas Mock for discovering this and for Amaury Forgeot
d'Arc for diagnosing the problem and pointing the way to a solution.
2007-07-04 15:23:38 +00:00
Anthony Tuininga
5025b4eb22 Replaced all tabs with spaces. 2007-06-27 14:00:34 +00:00
Anthony Tuininga
5973af7501 Added support for using connections as context managers in Python 2.5 where
upon successful completion of the block a commit is performed whereas otherwise
a rollback is performed.
2007-06-21 13:57:08 +00:00
Anthony Tuininga
104e11b67a Last public release from Computronix. 2007-06-13 21:15:16 +00:00