Anthony Tuininga
5686a23617
Preparing to release version 4.3.2.
2007-07-28 22:05:10 +00:00
Anthony Tuininga
ada25ae931
Copyright is now Colt Engineering but leave old copyright notice in as well.
2007-07-28 21:59:05 +00:00
Anthony Tuininga
e0972e62ae
Updated the documentation to include the changes made with respect to the
...
statement cache and preparing statements.
2007-07-28 20:37:00 +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
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
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
21f1839d1a
Fixed support for native doubles and floats in Oracle 10g; added new type
...
NATIVE_FLOAT to allow specification of a variable of that specific type where
desired. Thanks to D.R. Boxhoorn for pointing out the fact that this was not
working properly when the arraysize was anything other than 1.
2007-06-27 14:34:34 +00:00
Anthony Tuininga
5025b4eb22
Replaced all tabs with spaces.
2007-06-27 14:00:34 +00:00
Anthony Tuininga
43d4d2b287
Building document is now being done on my home machine which has a different
...
location for the Python source.
2007-06-24 04:33:21 +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
5ef057e325
When copying the value of a variable, copy the return code as well.
2007-06-13 21:27:38 +00:00
Anthony Tuininga
77cd36d25c
Change to HEAD for trunk and add categories and other such niceties to make it
...
easier to register with the Python package index.
2007-06-13 21:26:56 +00:00
Anthony Tuininga
4751cd7d55
Added methods open(), close(), isopen() and getchunksize() in order to improve
...
performance of reading/writing LOB values in chunks.
2007-06-13 21:25:26 +00:00
Anthony Tuininga
4e5bd3ccb9
Attempt to locate an Oracle installation by looking at the PATH if the
...
environment variable ORACLE_HOME is not set; this is of primary use on Windows
where this variable should not normally be set.
2007-06-13 21:24:08 +00:00
Anthony Tuininga
5667217ef4
Added source documentation files which are not released.
2007-06-13 21:22:30 +00:00
Anthony Tuininga
104e11b67a
Last public release from Computronix.
2007-06-13 21:15:16 +00:00