Anthony Tuininga
cb0f48e076
Remove references to documentation that has been moved to Read the Docs.
2014-05-19 22:28:55 -06:00
Anthony Tuininga
9515b93b35
Move documentation to Read the Docs instead of distributing directly.
2014-05-19 22:26:58 -06:00
Anthony Tuininga
4838055084
Ensure that in Python 3 NCHAR and NVARCHAR2 and NCLOB columns are retrieved
...
properly without conversion issues. Thanks to Joakim Andersson for pointing
out the issue and the possible solution.
2014-05-16 22:33:35 -06:00
Anthony Tuininga
26d2b6a2a5
Eliminate warnings when building cx_Oracle due to unused but set variables.
2014-05-16 22:19:53 -06:00
Anthony Tuininga
6aa817956f
OCI_ATTR_PARSE_ERROR_OFFSET should be of type ub2; also handle case when the
...
exception has been normalized already (and with this change force the exception
to be normalized) as in that case the cx_Oracle.Error object is not directly
accessible as originally assumed (which caused a segfault to take place).
2014-05-13 15:09:34 -06:00
Anthony Tuininga
b1d1a93a87
Remove proposed optimization FitsInLong() and instead tweak the logic that
...
determines whether or not an integer conversion should be attempted.
2014-05-13 13:36:13 -06:00
Anthony Tuininga
1358f1833f
Avoid spurious error.
2014-05-13 13:33:15 -06:00
TWAC
fd515c0bf5
MSVC does not like C99
2014-05-09 14:44:06 +02:00
Anthony Tuininga
3ca41fec71
Tidy up code a bit.
2014-05-08 22:45:00 -06:00
shaib
253466e55d
Removed unintended change in file header comment
2014-04-19 22:01:39 +00:00
Shai Berger
00569f774f
Removed non-change
2014-04-14 03:31:47 +03:00
Shai Berger
ebdf24d303
Make ints faster, take 2: Peek in OCINumber
...
Make "small" ints in "large" columns twice as fast, without
significant decline in performance for large ints, by peeking
in the exponent byte of the OCINumber
2014-04-07 04:04:29 +03:00
Shai Berger
7e0515b0f4
Try reading potentially-long integers as ints before creating strings for performance
2014-04-02 16:09:07 +03:00
nleschev
75f70a6058
Fixed two memoty leaks
2013-11-28 13:25:04 +04:00
Anthony Tuininga
27361c5a23
Remove tabs in favor of spaces in order to be consistent with all of the other
...
files.
2013-10-19 22:10:23 -06:00
Anthony Tuininga
b473a7ebbc
Add support for Oracle 12c.
2013-10-19 21:57:58 -06:00
Anthony Tuininga
851041ba39
Use different variable name to be more consistent with other code.
2013-10-15 04:21:45 +00:00
Andrew Horton
52810a4c81
64-bit fix to stop self.db.current_schema sometimes throwing MemoryError
2013-10-06 10:21:47 +01:00
Anthony Tuininga
f80fc7f211
Use the actual name of the class, not a manufactured name.
2013-04-02 13:16:11 -06:00
Anthony Tuininga
ed95a75b2c
Ignore compiled Python files.
2013-04-02 13:11:30 -06:00
Glen Walker
ad64691904
Make ORACLE_VERSION_HEX easier to use
2012-11-23 15:02:46 +13:00
Glen Walker
3e63e0cc42
Add support for query result set change notification
2012-11-23 14:10:07 +13:00
Anthony Tuininga
274af0289c
Added tag 5.1.2 for changeset fb5d0b19e3ba
2012-07-02 23:08:05 -06:00
Anthony Tuininga
73d7b98dc6
Updated documentation and bumped copyright into 2012.
2012-07-02 23:07:36 -06:00
Anthony Tuininga
ba7eee3133
Ignore the .build directory produced by Sphinx.
2012-07-02 23:02:01 -06:00
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