438 Commits

Author SHA1 Message Date
convert-repo
8868eec788 update tags 2012-03-04 00:58:10 +00:00
Anthony Tuininga
af21744a70 Ensure that the temporary LOB is freed before freeing the descriptor; it
seems logical that freeing the descriptor should free the temporary LOB as
well but apparently that is NOT the case!
2012-02-12 03:47:13 +00:00
Anthony Tuininga
451ea21d9b Preparing to release 5.1.1. 2011-10-09 04:39:05 +00:00
Anthony Tuininga
9f22833b29 The prefetch routine should only be run during fetches and not when the LOB
variable is being destroyed! Doing so causes strange errors to be raised.
2011-10-04 04:35:52 +00:00
Anthony Tuininga
1859c2c211 Use OCI_UTF16ID for NCLOBs as the standard character set seems to cause
problems with Oracle 11.2.0.2.
2011-09-28 03:46:08 +00:00
Anthony Tuininga
b745877709 Fix cursor description to take into account the number of bytes per character. 2011-09-28 01:17:45 +00:00
Anthony Tuininga
960553534c Make use of the PyGILState_Ensure() and PyGILState_Release() methods which
are available in Python 2.3 and up and greatly simplify the code surrounding
thread handling in callbacks made by Oracle. The original code must have had
some small issue in it that was tweaked under high load. Thanks to Calvin S.
for noting the issue and supplying the suggested fix.
2011-09-24 20:56:52 +00:00
Anthony Tuininga
dadf62cb9d Added tests for NCLOBs to the test suite. 2011-09-02 03:44:48 +00:00
Anthony Tuininga
0715624156 Added tests for NCLOBs to the test suite. 2011-09-02 03:27:55 +00:00
Anthony Tuininga
0be30d0a64 Added support for specifying the service_name in the dsn generated by makedsn()
which can be done by not specifying a value for the sid (third parameter) and
using the keyword parameter service_name instead.
2011-08-28 04:20:07 +00:00
Anthony Tuininga
2ed2c62111 Set native line endings on all text files. 2011-06-22 18:17:51 +00:00
Anthony Tuininga
03766e3363 Force server detach on close so that the connection is completely dead and not
just the session as previously.
2011-05-14 23:12:25 +00:00
Anthony Tuininga
12dbe607cd Remove redundant code used for determining library path. 2011-04-22 20:01:26 +00:00
Anthony Tuininga
5ef77d7eae Update the documentation in preparation for the new release. 2011-03-20 05:01:27 +00:00
Anthony Tuininga
bccdfccea8 Preparing to release 5.1. 2011-03-20 04:57:10 +00:00
Anthony Tuininga
79f8a9efc4 Update documentation for the addition of the typename argument to the
constructor of variable objects.
2011-03-20 04:55:42 +00:00
Anthony Tuininga
a9ebd12f76 Restore support for the encoding and nencoding attributes on a connection. 2011-03-15 16:18:26 +00:00
Anthony Tuininga
edd2387f1c Ignore .pyc files; needed for CentOS. 2011-02-19 03:56:57 +00:00
Anthony Tuininga
04f1904a7d Remove "unicode" mode and simply permit unicode to be used everywhere within
cx_Oracle; stop using "unicode" mode in the OCI as well since that appears to
have bugs in some places and doesn't really solve any problems anyway.
2011-02-19 03:50:16 +00:00
Anthony Tuininga
9be85a356c Free temporary LOBs prior to each fetch in order to avoid leaking them; thanks
to Uwe Hoffmann for the initial patch.
2011-01-04 05:55:54 +00:00
Anthony Tuininga
fb2e048851 Make AIX5 happy as OCIPing does not appear to be available on that platform
under Oracle 10g Release 2. Thanks to Pierre-Yves Fontaniere for the patch.
2011-01-01 05:07:20 +00:00
Anthony Tuininga
0665dff62b Remove unnecessary code. 2010-11-04 16:48:33 +00:00
Anthony Tuininga
cf2da5efc8 Check the result of freeing the handle if an exception should be raised; in
addition, null the handle so that a second attempt is not made when the cursor
is freed after close() has been called.
2010-11-04 16:36:09 +00:00
Anthony Tuininga
505018d577 Account for lib64 used on x86_64 systems. Thanks to Alex Wood for supplying the
patch.
2010-08-31 17:11:10 +00:00
Anthony Tuininga
b1b4c403fb Added support for creating an object variable via a named type -- the first
step on the road to adding full object support.
2010-07-31 05:32:30 +00:00
Anthony Tuininga
03df2d9ede Preparing to release version 5.0.4. 2010-07-14 05:08:19 +00:00
Anthony Tuininga
85d368a21d Added support for new parameter (port) for subscription() call which allows
the client to specify the listening port for callback notifications from
the database server. Thanks to Geoffrey Weber for the initial patch.
2010-07-14 04:40:11 +00:00
Anthony Tuininga
8c3a69664f Provide a bit more information in the error message produced. 2010-07-08 15:01:59 +00:00
Anthony Tuininga
52d6cc88c3 Added support for building with Python 3.x from an independently created
setup.py (as for cx_OracleDBATools, for example).
2010-06-01 03:38:25 +00:00
Anthony Tuininga
25274ca3fb Fix error message. 2010-05-28 18:10:12 +00:00
Anthony Tuininga
88666dbef7 Fix compilation under Oracle 9i. 2010-05-26 21:28:10 +00:00
Anthony Tuininga
33aa8fc246 Preparing to release version 5.0.3. 2010-02-05 05:25:13 +00:00
Anthony Tuininga
2646230de3 Bump copyright into 2010. 2010-02-05 05:13:25 +00:00
Anthony Tuininga
2a27248c94 Ensure that the data is stored as Unicode data as the original code stored the
byte string exactly as shown in Oracle 11g Release 2.
2010-01-29 05:01:08 +00:00
Anthony Tuininga
fc87c1df60 Enable building from within other setup.py scripts like those in
cx_OracleTools, for example.
2009-12-05 22:59:34 +00:00
Anthony Tuininga
309437003e Fixed bug when converting from decimal would result in OCI-22062 because
the locale decimal point was not a period. Thanks to Amaury Forgeot d'Arc
for the solution to this problem.
2009-11-20 05:53:37 +00:00
Anthony Tuininga
f3282b2ae2 Added check for attempts to call executemany() with arrays which are not
supported by the OCI; thanks to Amaury Forgeot d'Arc for the suggestion.
2009-11-20 05:42:57 +00:00
Anthony Tuininga
d2edff721d Set the PATH environment variable instead of ORACLE_HOME on Windows. 2009-10-23 13:21:56 +00:00
Anthony Tuininga
3c66a01739 Force termination with an error code if some tests fail. 2009-10-22 04:24:46 +00:00
Anthony Tuininga
4adc2550a1 Renamed to client_identifier as that is consistent with current_schema and is
also much more readable anyway.
2009-10-22 04:18:45 +00:00
Anthony Tuininga
a295178f22 Added support for setting the CLIENT_IDENTIFIER attribute on connections. 2009-10-21 05:08:56 +00:00
Anthony Tuininga
df6225a230 Added support for running the test suite on all of the Python and Oracle
versions configured for the machine.
2009-10-21 02:12:14 +00:00
Anthony Tuininga
4b63f554a5 Added support for running the test suite by running python setup.py test. 2009-10-21 01:24:52 +00:00
Anthony Tuininga
37362824f5 Ensure that Windows installer files also include the unicode designation when
appropriate.
2009-10-19 19:29:31 +00:00
Anthony Tuininga
c9c5f2316b Eliminate the spurious errors that take place because of the change in how
numbers without any constraints are represented in Oracle 11g.
2009-10-18 03:34:36 +00:00
Anthony Tuininga
e438e404b1 Tweaked release.py in order to use environment variables to define which Python
versions to use for the release and also how to execute it. This is primarily
because Mac OS X and 64-bit Windows do not support some of the older Python
versions very well.
2009-10-18 03:19:33 +00:00
Anthony Tuininga
e316a391e9 Tweaked documentation as requested by Alex Vanderwoude and in preparation for
the release of 5.0.3.
2009-10-18 03:04:50 +00:00
Anthony Tuininga
ab9ad78579 Added support for building "Unicode" builds independently of "normal" and get
ready for releasing these types of builds with any new release.
2009-10-11 04:33:25 +00:00
Anthony Tuininga
0c859f8b87 Added support for named arguments in callproc() and callfunc() which make use
of PL/SQL notation for making such calls.
2009-09-29 04:56:31 +00:00
Anthony Tuininga
1ef0f27b70 Change order of assignment in order to make VC++ happier. 2009-09-28 15:51:41 +00:00