Anthony Tuininga
22251879ba
Use the constant defined by Oracle rather than a hard coded amount.
2014-09-22 18:37:40 -06:00
Anthony Tuininga
8b0512510c
Merged in richardlev/cx_oracle/richardlev/note-that-connectionaction-cant-be-set-t-1410906990372 (pull request #9 )
...
Note that Connection.action can't be set to None.
2014-09-18 22:36:37 -06:00
richardlev
21baf7d0a6
Note that Connection.action can't be set to None.
2014-09-16 22:36:34 +00:00
Anthony Tuininga
faadbe4730
Remove code specific to strings being 4000 characters now that Oracle 12c has
...
the ability to have strings up to 32k characters. This implies that using
setinputsizes() is necessary if a long string type is desired as this will not
occur automatically when the string exceeds 4000 characters. Tests are tidied
up to remove the "p_" prefix from all bind variables.
2014-09-04 22:33:08 -06:00
Anthony Tuininga
fdde7da7f5
Ensure that sessions are released to the pool when calling connection.close();
...
this resolves issue 2:
https://bitbucket.org/anthony_tuininga/cx_oracle/issue/2/use-of-cclass-causes-connection-leaks
2014-08-06 11:16:07 -06:00
Anthony Tuininga
b353be865a
Booleans are subclassed to integer so ensure that the boolean is checked first;
...
this wasn't a problem in Python 2.x but has become one in Python 3.x.
2014-08-05 15:50:05 -06:00
Jakob Gurnhofer
9f2feac224
Add SYSASM to doc
2014-07-15 15:28:58 +02:00
Jakob Gurnhofer
052448cc05
Add support for connections as SYSASM
2014-07-14 15:31:47 +02:00
Anthony Tuininga
d255b7457f
Expose the UNICODE, FIXED_UNICODE and LONG_UNICODE types so that in Python 3
...
one can actually specify the use of the NCHAR type fields when binding or using
setinputsizes().
2014-07-07 12:41:37 -06:00
Anthony Tuininga
dda360b096
Added tag 5.1.3 for changeset 179b9747a27e
2014-05-24 22:02:28 -06:00
Anthony Tuininga
422b7e61bc
Remove reference to text files which are no longer being distributed.
2014-05-24 22:01:43 -06:00
Anthony Tuininga
6c86da34ad
Fix attribution as requested by Shai Berger.
2014-05-20 18:09:00 -06:00
Anthony Tuininga
f3d4c3aa48
Bump copyright into 2014.
2014-05-19 22:43:28 -06:00
Anthony Tuininga
fde2c64c88
Preparing to release 4.1.3.
2014-05-19 22:31:09 -06:00
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