Commit Graph

541 Commits

Author SHA1 Message Date
Antony Dovgal
3c10602950 fix compile failure in ZTS mode when collections support is missing 2007-01-31 12:45:56 +00:00
Antony Dovgal
74e11c349c fix segfault on re-binding and re-executing a statement
improve the test
patch by Chris Jones
2007-01-31 10:36:20 +00:00
Antony Dovgal
fdec496b73 improve test
patch by Chris Jones
2007-01-30 11:43:07 +00:00
Antony Dovgal
47514fd793 fix test
different Oracle client versions report different error messages
2007-01-29 16:18:15 +00:00
Antony Dovgal
a4c6b4b0f3 fix test 2007-01-29 16:16:07 +00:00
Antony Dovgal
e4cd5235fd fix test 2007-01-19 19:43:25 +00:00
Antony Dovgal
1494f6f9df fix #39988 (type argument of oci_define_by_name() is ignored)
patch and tests by Chris Jones
2007-01-11 11:58:34 +00:00
Antony Dovgal
4a7093c531 fix #40078 (ORA-01405 when fetching NULL values using oci_bind_array_by_name()) 2007-01-11 11:26:36 +00:00
Antony Dovgal
a323972c87 use constant 2007-01-03 20:45:17 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
7b42968afd that should not be there.. 2006-12-27 09:49:06 +00:00
Antony Dovgal
06216846e7 more test improvements by Chris Jones 2006-12-27 09:48:05 +00:00
Antony Dovgal
f3c0c42b76 use safe_emalloc() 2006-12-25 21:45:09 +00:00
Antony Dovgal
fa3c084b36 mark all LOB functions as Unicode safe 2006-12-25 18:57:15 +00:00
Antony Dovgal
083bddc23d fix test 2006-12-23 14:14:14 +00:00
Antony Dovgal
8a3000977c fix tests 2006-12-23 14:10:52 +00:00
Antony Dovgal
96d19377ce use add_ascii_assoc_text() 2006-12-23 14:10:35 +00:00
Antony Dovgal
19060d3a14 use OCI_SUCCESS constant, do not rely on its value 2006-12-23 14:02:38 +00:00
Antony Dovgal
2010ae0c5c more OCI8 tests by Chris Jones 2006-12-22 13:28:46 +00:00
Antony Dovgal
921d845f8d temporary fix for oci_error(), just to make it work
it should be using add_ascii_assoc_text() instead
2006-12-21 22:50:57 +00:00
Antony Dovgal
b87049fd42 added support for CALL statement type (patch by Chris Jones) 2006-12-21 22:08:02 +00:00
Antony Dovgal
6292c75198 improve tests, add new ones 2006-12-21 19:22:49 +00:00
Antony Dovgal
955e71c985 new tests by Christopher Jones 2006-12-21 12:41:03 +00:00
Antony Dovgal
8eb42705d7 disable tests
I don't think it makes sense to test a segfault which we cannot fix..
2006-12-12 13:22:33 +00:00
Antony Dovgal
c3fb5e8045 fix test 2006-12-12 13:12:22 +00:00
Antony Dovgal
fc79cb0974 BFILE tests are only valid when Oracle is installed on the same host
skip them if it's not
2006-12-12 12:57:02 +00:00
Antony Dovgal
70638c5cdf fix test 2006-12-12 10:31:36 +00:00
Antony Dovgal
da56bcc2b1 fix LOBs internal position in Unicode mode 2006-12-12 10:31:22 +00:00
Antony Dovgal
0e3b847fe2 add new tests 2006-12-12 09:33:17 +00:00
Antony Dovgal
5f1b060f73 OCILobGetChunkSize() does not like BFILEs, return read_length right away 2006-12-12 09:28:07 +00:00
Antony Dovgal
fb522f16ee prevent any possible problems with negative values 2006-12-11 12:33:55 +00:00
Antony Dovgal
75fa1df0e7 add new test 2006-12-11 12:31:54 +00:00
Antony Dovgal
a14c81e3c2 fix #39732 (oci_bind_array_by_name doesn't work on Solaris 64bit) 2006-12-08 20:55:14 +00:00
Antony Dovgal
e56bd8eed2 add Unicode support to oci_statement_type() 2006-12-06 16:42:27 +00:00
Antony Dovgal
826f06ea88 mark most of the OCI8 functions as unicode aware 2006-12-06 16:36:27 +00:00
Antony Dovgal
577d3dec4c fix error messages in Unicode mode when global error handle is used 2006-11-23 16:08:41 +00:00
Antony Dovgal
afd25b61a4 fix oci_bind_array_by_name() with SQLT_ODT type
fix tests
2006-11-23 15:23:10 +00:00
Antony Dovgal
88f51bc2e5 fix tests 2006-11-23 14:36:55 +00:00
Antony Dovgal
f63754eb19 fix oci_bind_array_by_name() in Unicode mode 2006-11-23 14:20:59 +00:00
Antony Dovgal
b616c7ffee fix type mess (thanks again, Chris) 2006-11-10 23:03:23 +00:00
Antony Dovgal
86a8604a81 fix build with old client versions 2006-11-10 21:57:04 +00:00
Antony Dovgal
869aa78e1e MFB 2006-11-10 21:55:05 +00:00
Antony Dovgal
d99f05f1a2 add _not yet 100% complete_ Unicode support
collections, statements and BLOBs seem to be working ok
though there are still some things to be done in order to make oci_bind_array_by_name() work with U-strings

Notes:
- in Unicode mode OCI8 always speaks to Oracle server using UTF-16, so all the conversions are done by the client lib.
This is why character set parameter of oci_connect() and NLS_LANG are ignored in U-mode.

- BLOBs and CLOBs behave quite differently in U-mode.
Reading data from a CLOB would result in Unicode string, while BLOBs would return binary string.
Also, all LOB utilities work with _bytes_ when BLOB is used and _characters_ when it's CLOB.
It's not that obvious, but it does make a lot of sense to me.
2006-11-10 16:56:19 +00:00
Antony Dovgal
974b0ad2cd fix segfault in ZTS mode when statements containing sub-statements are destroyed in wrong order 2006-11-10 16:33:28 +00:00
Antony Dovgal
4579e4cc9e fix PECL bug #9061 (oci8 might reuse wrong persistent connection) 2006-10-18 14:22:04 +00:00
Antony Dovgal
03301dee3f fix win32 build 2006-10-13 14:26:14 +00:00
Antony Dovgal
77c5edbb3e use connection character set when reading LOB data 2006-10-12 10:02:34 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Antony Dovgal
d3bae72721 fix PECL bug #8816 (issue in php_oci_statement_fetch with more than one piecewise column)
patch by jeff at badtz-maru dot com
2006-10-06 12:46:08 +00:00
Antony Dovgal
0de658d31d new test 2006-10-06 09:57:29 +00:00