Commit Graph

506 Commits

Author SHA1 Message Date
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
Antony Dovgal
4b0da1f741 fix test
the error message is different in Oracle10
2006-09-27 08:44:12 +00:00
Antony Dovgal
22491f9399 change test to work with Oracle 10 2006-09-13 10:44:04 +00:00
Antony Dovgal
ad67978a49 new tests 2006-09-12 20:32:06 +00:00
Antony Dovgal
40fe5baf8c uhm.. declare oci_lob_seek() along with OCI-Lob->seek() method 2006-09-12 20:26:59 +00:00
Antony Dovgal
0a5cb31537 fix leak when binding a variable to the same placeholder several times 2006-09-12 11:42:25 +00:00
Antony Dovgal
a10691e3b9 last portion of z/Z fixes 2006-08-31 16:14:43 +00:00
Antony Dovgal
4c7154981b update version in phpinfo() 2006-08-24 13:02:53 +00:00
Antony Dovgal
2ccf86ae4c bump version number 2006-08-24 12:46:52 +00:00
Antony Dovgal
c3ff8f269f prepare to 1.2.2 release 2006-08-24 11:53:37 +00:00
Antony Dovgal
bfccf875f1 minor improvements
dropped unused parameters, changed long to int where it should be int
2006-08-22 11:08:28 +00:00
Antony Dovgal
f069754ab8 fix PECL bug #8112 (OCI8 persistent connections misbehave when Apache process times out) 2006-08-21 16:40:46 +00:00
Antony Dovgal
1789473eba minor CS/WS fixes 2006-08-15 13:08:18 +00:00
Antony Dovgal
43aab65e86 error message might be NULL 2006-08-15 12:27:04 +00:00
Antony Dovgal
7f2e2b105a OCIBreak() is not supported on Windows 2006-08-15 12:19:39 +00:00
Antony Dovgal
d04a797cc6 add test 2006-08-10 12:20:28 +00:00
Antony Dovgal
4e792c3ead improve connection character set detection:
* output a warning if invalid character set was passed to the function
* use NLS_LANG by default
2006-08-10 12:15:24 +00:00
Antony Dovgal
3f0e0d1263 update 2006-08-09 15:27:26 +00:00
Antony Dovgal
e16bd0c0f0 add support for NCLOBs
fix #35973 (Error ORA-24806 occurs when trying to fetch a NCLOB field)
2006-08-09 15:23:50 +00:00
Antony Dovgal
14bab82ab3 update changelog and file list 2006-08-09 12:20:45 +00:00
Antony Dovgal
225fb6a51a fix #38161 (oci_bind_by_name() returns garbage when Oracle didn't set the variable) 2006-08-09 12:13:30 +00:00
Antony Dovgal
783bcdde3e oops, wrong directory 2006-08-09 12:12:10 +00:00
Antony Dovgal
f9fd102d73 fix leak on failure 2006-08-09 11:48:50 +00:00
Antony Dovgal
689f3a92b5 fix #8112 (Persistent connections misbehave when Apache process times out) 2006-08-09 10:16:20 +00:00
Antony Dovgal
3e0a13fa9f long -> int 2006-08-06 14:09:46 +00:00
Antony Dovgal
688975a519 fix PECL bug #7827
add small optimization - no need to do anything if hash lookup failed, just move along
2006-08-05 20:56:12 +00:00
Antony Dovgal
0c2449923c improve error message on Win32 2006-08-01 12:08:10 +00:00
Antony Dovgal
06aa83600e fix #37581 (oci_bind_array_by_name clobbers input array when using SQLT_AFC, AVC) 2006-07-31 10:28:46 +00:00
Antony Dovgal
996f79343c update changelog 2006-07-30 20:53:10 +00:00
Antony Dovgal
5cf81310c7 fix #38173 (Freeing nested cursors causes OCI8 to segfault) 2006-07-30 20:50:53 +00:00
Antony Dovgal
b14af30ed0 improve connection timeout check (implements FR #38210) 2006-07-26 07:00:42 +00:00
Antony Dovgal
93ae33c8a4 add Unicode EXPECT tags 2006-07-10 20:48:04 +00:00
Antony Dovgal
dc9ea3b961 add missing items to the changelog 2006-07-07 09:21:54 +00:00
Antony Dovgal
a6b1620267 update changelog 2006-06-28 15:05:17 +00:00
Antony Dovgal
310903208a fix #37931 (possible crash after database restart when using persistent connections) 2006-06-28 15:03:16 +00:00
Antony Dovgal
d9de0eac85 fix typo and bug #37886 2006-06-23 08:25:58 +00:00