499 Commits

Author SHA1 Message Date
Anthony Tuininga
c7ca9e22b6 Fix build so that there is no need to specify the python version within the
source RPM as requested.
2012-06-30 23:22:14 -06:00
Anthony Tuininga
6ceb861f76 Ignore the MANIFEST file which is generated. 2012-06-30 23:16:30 -06:00
Anthony Tuininga
7556b56653 Preparing to release 5.1.2. 2012-06-23 21:53:15 -06:00
Anthony Tuininga
d69f7e3a2b Add support for setting the module, action and client_info during connection
so that logon triggers will see the values, as requested by Rodney Barnett.
2012-05-29 12:01:55 -06:00
Anthony Tuininga
3d0c96cb78 Set the row number for PL/SQL blocks as well as requested by Robert Ritchie. 2012-03-27 09:44:27 -06:00
Anthony Tuininga
96a3468db6 Added suport for LONG_UNICODE which is a type that is used to handle long
unicode strings. These are not explicitly supported in Oracle but can be used
to bind to NCLOB, for example, without getting the "unimplemented or
unreasonable conversion requested" error.
2012-03-17 21:23:37 -06:00
Anthony Tuininga
43a2162791 Use canonical line endings for .hgignore. 2012-03-03 20:09:13 -07:00
Anthony Tuininga
16fd6cc242 The .hgignore file should also be converted to native line endings. 2012-03-03 20:02:02 -07:00
Anthony Tuininga
d72e31ff7e Change line endings to canonical type (using eol extension). 2012-03-03 20:01:45 -07:00
Anthony Tuininga
20cc12d160 Use the eol extension to ensure that files are always checked out with the
correct line endings for the platform in use.
2012-03-03 19:57:04 -07:00
Anthony Tuininga
fc8418d60e Files which should be ignored. 2012-03-03 19:40:53 -07:00
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