1006 Commits

Author SHA1 Message Date
Anthony Tuininga
46e3aff3fa Ensure that the number of elements in the array is not lost when the buffer
size is increased to accommodate larger strings.
2018-02-16 16:23:09 -07:00
Anthony Tuininga
ecb6ee4442 Import print_function for Python 2 compatibility. 2018-02-16 16:22:34 -07:00
Anthony Tuininga
9b1ce308b1 Added support for creating a temporary LOB directly. 2018-02-16 16:21:32 -07:00
Anthony Tuininga
d9cf469167 Correct binding of LOB values. 2018-02-16 16:20:50 -07:00
Anthony Tuininga
0d3aa46d02 Simplify code. 2018-02-16 16:20:29 -07:00
Anthony Tuininga
ce560d7330 Work on Visual Studio redistributable and PATH steps. 2018-02-15 11:20:58 -07:00
Anthony Tuininga
0784f76192 Use (new) canonical link for Instant Client home page. 2018-02-15 11:20:35 -07:00
Anthony Tuininga
54dcf8642b Added test cases for recent ODPI-C bug fixes. 2018-02-15 11:18:15 -07:00
Anthony Tuininga
58757cadb7 Update ODPI-C (eliminate memory leak enqueuing/dequeuing objects; correct
handling of boundary numbers 1e126 and -1e126; eliminate ability to destroy
"parent" object before "child" object).
2018-02-15 11:16:20 -07:00
Anthony Tuininga
dbe9e45653 Update ODPI-C. 2018-02-05 13:57:41 -07:00
Anthony Tuininga
6e3b578281 Eliminate reference leak with LOB values acquired from attributes of objects or
elements of collections.
2018-02-02 15:45:21 -07:00
Anthony Tuininga
99c019d6c5 Restore support for binding a date value to datetime variable. 2018-02-02 15:44:45 -07:00
Anthony Tuininga
a9cda2a81d Update ODPI-C (avoid call to OCITransRollback() is no transaction in progress). 2018-02-02 15:43:44 -07:00
Anthony Tuininga
5171ede9c2 Correct handling of Oracle objects after consolidation of transformations
to/from Python objects.
2018-02-02 15:42:57 -07:00
Anthony Tuininga
242d751d6c Clarify that Python.h is only needed for compilation. 2018-02-02 15:40:53 -07:00
Anthony Tuininga
7e2663606d Various improvements to installation documentation. 2018-01-30 15:26:48 -07:00
Anthony Tuininga
65580226cd Added test cases for AQ visibility and delivery modes. 2018-01-30 15:25:56 -07:00
Anthony Tuininga
00330794be Update ODPI-C (improve error message when using bind variables in DDL
statements).
2018-01-29 18:52:31 -07:00
Anthony Tuininga
a864450186 Simplify Makefile based on Sphinx 1.2+ capabilities. 2018-01-29 18:51:31 -07:00
Anthony Tuininga
e5b6370bd0 Reorganize code to implement the following:
- use a prefix of cxo/CXO for all variables, methods and constants
  - create common include file and use separate compilation units
  - consolidate all transformations to/from Python objects
2018-01-29 18:50:18 -07:00
Anthony Tuininga
fa43311bbc Update ODPI-C; remove error "DPI-1054: connection cannot be closed when open
statements or LOBs exist"
(https://github.com/oracle/python-cx_Oracle/issues/138).
2018-01-26 21:18:16 -07:00
Anthony Tuininga
5b20ca92f4 Time only variables are not supported by Oracle so make that clear in the
documentation.
2018-01-11 16:55:59 -07:00
Anthony Tuininga
6a998604ce The attribute connection.dbop is only valid with Oracle 12.1 and higher. 2018-01-11 16:24:42 -07:00
Anthony Tuininga
ef60884570 Additional test cases to improve code coverage. 2018-01-11 16:24:08 -07:00
Anthony Tuininga
18b014a19e Correct support in Python 3.x for cursor.parse(). 2018-01-11 14:20:51 -07:00
Anthony Tuininga
8dfd842cfd Revert last change (restriction is deliberate). 2017-12-15 09:00:56 -07:00
Anthony Tuininga
cf19bc7f74 Remove unnecessary type checks since PyFloat_AsDouble() will convert the value
to floating point if possible anyway, and if not, will raise an appropriate
exception.
2017-12-15 08:49:27 -07:00
Anthony Tuininga
273d36e4ba Correct formatting. 2017-12-14 20:56:46 -07:00
Anthony Tuininga
ad57a5e858 Preparing to release 6.1. 6.1 2017-12-12 12:12:15 -07:00
Anthony Tuininga
8630c86b01 Improve documentation for installation. 2017-12-12 12:11:51 -07:00
Anthony Tuininga
1d7f50971b Refactor README.md. 2017-12-12 12:10:44 -07:00
Anthony Tuininga
ab4cde01b7 Use "wait" mode for acquiring connections from the pool in order to avoid
potential errors under certain circumstances.
2017-12-12 12:09:32 -07:00
Anthony Tuininga
4db53286b7 Update ODPI-C (final 2.1 tag). 2017-12-12 12:08:29 -07:00
Anthony Tuininga
9ae0f5dd1c Use the correct designation for the external handle parameter. 2017-12-11 15:41:48 -07:00
Anthony Tuininga
9953505e54 Update ODPI-C (correct setting subscription port number -
https://github.com/oracle/python-cx_Oracle/issues/115).
2017-12-07 15:57:15 -07:00
Anthony Tuininga
5d728693ca Eliminate compiler warnings on 32-bit Windows. 2017-12-07 15:56:26 -07:00
Anthony Tuininga
864780da2a Use long long instead of just long in order to avoid truncation on Windows
where sizeof(long) != sizeof(void*).
2017-12-07 15:55:46 -07:00
Anthony Tuininga
0b408253f6 Added test for creating a connection using an existing connection's handle. 2017-12-07 15:55:13 -07:00
Anthony Tuininga
a8d9b74c3a Added preliminary test cases for subscriptions. 2017-12-07 15:54:11 -07:00
Anthony Tuininga
1fe14c66dc Use safer queries for verifying connection properties. 2017-12-07 15:52:34 -07:00
Anthony Tuininga
b262d1ca7b Clarify usage of parameters passed to cursor.execute(). 2017-12-07 15:52:02 -07:00
Anthony Tuininga
681c18675e Update ODPI-C (adjust OCI prefetch; added options for authentication with
SYSBACKUP, SYSDG, SYSKM and SYSRAC, as requested
(https://github.com/oracle/python-cx_Oracle/issues/101).
2017-11-27 10:40:19 -07:00
Anthony Tuininga
fb71f1126b Additional test cases for AQ. 2017-11-27 10:38:27 -07:00
Anthony Tuininga
011e062aa1 Added test cases for autocommit, changing passwords and the end-to-end tracing
attributes.
2017-11-27 10:37:46 -07:00
Anthony Tuininga
885904c166 Remove unnecessary line. 2017-11-17 21:40:28 -07:00
Anthony Tuininga
abd472f950 Add note that edition and cclass parameters cannot be used together. 2017-11-17 21:40:00 -07:00
Anthony Tuininga
5625a320c9 Correct reference handling when an invalid keyword parameter is passed to the
cx_Oracle.SessionPool constructor.
2017-11-17 21:39:26 -07:00
Anthony Tuininga
731c8410b3 Correct name of data dictionary view for DRCP sample. 2017-11-17 21:38:59 -07:00
Anthony Tuininga
a3a936b992 Update ODPI-C (prevent attempts to close statements or free temporary LOBs if
the connection has already been closed or killed).
2017-11-17 21:37:42 -07:00
Anthony Tuininga
f26fb5157e Ensure that the edition is passed through to ODPI-C when a session pool is
created.
2017-11-17 13:41:49 -07:00