718 Commits

Author SHA1 Message Date
Anthony Tuininga
552fcfb48e Bump license year; simplify README and avoid duplication. 6.2 2018-03-05 16:34:53 -07:00
Anthony Tuininga
9cb2ef84bf Correct formatting of release note. 2018-03-05 14:01:10 -07:00
Anthony Tuininga
fb0d7517e8 Preparing to release cx_Oracle 6.2. 2018-03-05 13:46:39 -07:00
Anthony Tuininga
1fd7940494 Ensure that error ORA-24816: Expanded non LONG bind data supplied after actual
LONG or LOB column" is not raised by ensuring an empty string does not use a
size of zero (which triggers this situation in Oracle 12.1).
2018-03-05 13:37:32 -07:00
Anthony Tuininga
592735f104 Update ODPI-C to 2.2.1. 2018-03-05 13:34:27 -07:00
Anthony Tuininga
beffe38b23 Correct formatting of release note. 2018-03-05 13:33:31 -07:00
Anthony Tuininga
b308a9f08b Update ODPI-C (eliminate memory leak when fetching collections from the
database).
2018-03-02 13:18:22 -07:00
Anthony Tuininga
e08e23bb93 Eliminate memory leak when extending a collection. 2018-03-02 13:17:21 -07:00
Anthony Tuininga
9264805596 Update ODPI-C (resolve memory leak using NCHAR and NVARCHAR2 values). 2018-02-27 16:58:53 -07:00
Anthony Tuininga
1bd8e95807 Added support for closing the connection when reaching the end of a code block
controlled by the connection as a context manager, but in a backwards
compatible way (https://github.com/oracle/python-cx_Oracle/issues/113).
2018-02-27 16:58:01 -07:00
Anthony Tuininga
ebfc8d4f9c Use new naming standard in top-level module code as well. 2018-02-27 16:57:31 -07:00
Anthony Tuininga
07b3b93da1 Add additional test cases. 2018-02-27 16:57:01 -07:00
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