Commit Graph

492 Commits

Author SHA1 Message Date
Christopher Jones a279f5682d No need to list headers in the sources 2017-06-14 09:52:24 +10:00
Christopher Jones 9921cb3b58 Bump version 2017-06-14 09:51:44 +10:00
Christopher Jones f7e5e1b76c Implement ODPI-C dynamic binding of OCI (Windows support still needed) 2017-06-14 09:47:32 +10:00
Christopher Jones d373e2bc3e Remove references to DPI_ORACLE_TYPE_LONG_NVARCHAR which are no longer needed 2017-06-14 09:41:16 +10:00
Christopher Jones 4fbc7d411d Eliminate spurious error messages while looking for the default bind type and max size to use for an array; instead, let the actual processing of the array bind catch inconsistencies in the types of data being bound 2017-06-14 09:37:57 +10:00
Christopher Jones beab9e63b5 Treat EMPTY_BLOB() as NULL as well as EMPTY_CLOB() -- keeping same behavior as v1 2017-06-14 09:35:20 +10:00
Christopher Jones be53eb3341 Silence warnings from the Microsoft C++ compiler 2017-06-14 09:33:01 +10:00
Christopher Jones 0448cdc210 Retrieval of LONGS is now supported so test will need to be updated 2017-06-14 09:30:28 +10:00
Christopher Jones 9fd568a052 Ensure that LONG RAW is returned as a Buffer, not as a String 2017-06-14 09:29:35 +10:00
Christopher Jones ad5d4089da Added support for fetching LONG and LONG RAW columns 2017-06-14 09:27:59 +10:00
Christopher Jones f5e5b7f894 Correct if clause and ensure that all string types (including rowid) are not adjusted by fetchInfo or fetchAsString -- the metadata provided by Oracle is already sufficient and (in the case of rowid) prevents an error from taking place when the default length of 200 is insufficient. 2017-06-14 09:26:32 +10:00
Christopher Jones 97c2f251ef Test does not need to be skipped 2017-06-14 09:25:48 +10:00
Christopher Jones 88375dff96 Correct support for rowids (both regular and universal) 2017-06-14 09:24:35 +10:00
Christopher Jones 5b16343341 Treat zero length string as NULL at all times, not just when the Oracle database converts it that way 2017-06-14 09:23:25 +10:00
Christopher Jones 6906454743 Create a new baton when additional rows need to be fetched. This works around an issue with Node.js 0.12 and is likely a safer implementation anyway 2017-06-14 09:22:47 +10:00
Christopher Jones dd72938ece Eliminate copmiler warnings 2017-06-14 09:19:48 +10:00
Christopher Jones a807e2f6f1 Renamed submodule dpic to odpi 2017-06-14 09:17:58 +10:00
Christopher Jones 2c836a2478 Updated ODPI-C (add ability to set/get default statement cache size for pool) 2017-06-14 09:16:21 +10:00
Christopher Jones 3949e1f9e4 Set the statement cache size on the connection that was just acquired. 2017-06-14 09:14:51 +10:00
Christopher Jones a9be1962fa Updated ODPI-C (universal rowid support) 2017-06-14 09:14:21 +10:00
Christopher Jones 0e5900876f Remove unnecessary restriction on binding zero-length PL/SQL arrays 2017-06-14 09:13:32 +10:00
Christopher Jones 9822928658 Updated ODPI-C (simplified error handling and introduction of context) 2017-06-14 09:12:41 +10:00
Christopher Jones 7db90133f2 Update to latest version of ODPI-C; invalid ref cursor is determined earlier than in v1 so accommodate those changes 2017-06-14 09:07:27 +10:00
Christopher Jones c1dcf01ed7 Null is explicitly accepted as a value which is effectively ignored. The original value is left untouched in that case 2017-06-14 09:06:41 +10:00
Christopher Jones 388bbe12c0 Comment result output 2017-06-14 09:06:05 +10:00
Christopher Jones 044b972b31 Restore linking against libclntsh and build ODPI-C source code directly into the driver 2017-06-14 09:05:40 +10:00
Christopher Jones a61a327490 Updated to new version of DPI using new naming methodology. 2017-06-14 08:58:55 +10:00
Christopher Jones dbaaab02b3 Add support for fetching CLOBs as plain strings. 2017-06-14 08:57:23 +10:00
Christopher Jones c267e9769d Updated to latest version of DPI which supports binding and fetching of arbitrarily long strings in place of LOBs 2017-06-14 08:56:48 +10:00
Christopher Jones c19c502b31 Update for new ODPI-C changes 2017-06-14 08:56:15 +10:00
Christopher Jones 997c521eed Simplified dpiStmt_FetchRows() in ODPI-C so that it behaves in a more consistent fashion and reduces the number of calls that need to be made 2017-06-14 08:55:40 +10:00
Christopher Jones 1ae002a99e Use functions to get and set attributes, rather than a pair of generic attribute manipulation functions. 2017-06-14 08:54:39 +10:00
Christopher Jones 85d7d87488 Update to latest version of ODPI-C 2017-06-14 08:53:02 +10:00
Christopher Jones 11811aead9 Updated to new version of the ODPI-C library 2017-06-14 08:51:55 +10:00
Christopher Jones 2a1ae1225d Added submodule for the ODPI-C repository code and adjusted binding.gyp to make use of it 2017-06-14 08:49:32 +10:00
Christopher Jones 1f627a52e3 Updated to take into account changes made to ODPI-C 2017-06-14 08:43:30 +10:00
Christopher Jones 9ff3ae1760 Bump version to keep in sync with v1 2017-06-14 08:39:12 +10:00
Christopher Jones d271d5bb7e Test update 2017-06-14 08:38:44 +10:00
Christopher Jones 5c4c4d8fa0 Merged from master. Most of these changes are for extended metadata support 2017-06-14 08:38:08 +10:00
Christopher Jones 1cd639d059 Some compilers cannot handle arrays with a variable number of elements; use the new operator to work around this deficiency 2017-06-14 08:33:11 +10:00
Christopher Jones 1e030afb3a Modified binding.gyp to link against ODPI-C only and adjusted all platforms to remove the checks for OCI 2017-06-14 08:32:17 +10:00
Christopher Jones 5738e62755 Keep package.json version in sync with code 2017-06-14 08:31:44 +10:00
Christopher Jones b856ddb85a Renamed "sizeInBytes" to "clientSizeInBytes" and added "dbSizeInBytes" to the query information structure 2017-06-14 08:29:31 +10:00
Christopher Jones ccb7120d09 Update following split of dpiCreateParams into dpiConnCreateParams and dpiPoolCreateParams 2017-06-14 08:28:37 +10:00
Christopher Jones 8e3331a917 ODPI-C now requires user name, password and connect string to be passed explicitly 2017-06-14 08:27:41 +10:00
Christopher Jones 9dff23aefd Pool creation was simplified in DPI-C 2017-06-14 08:25:44 +10:00
Christopher Jones dc9430ec01 Adjusted all mode enumeration values to start with DPI_MODE_ 2017-06-14 08:25:11 +10:00
Christopher Jones e6f23345a8 ODPI-C now requires the mode of execution for dpiStmt_Execute() 2017-06-14 08:24:18 +10:00
Christopher Jones 40024385e8 Rename DPI_CONN_PARAMS to DPI_CREATE_PARAMS for consistency. 2017-06-14 08:23:40 +10:00
Christopher Jones ce41e1f557 Indicate new functionality in tests 2017-06-14 08:23:02 +10:00