Commit Graph

56 Commits

Author SHA1 Message Date
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
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
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
2010ae0c5c more OCI8 tests by Chris Jones 2006-12-22 13:28:46 +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
0e3b847fe2 add new tests 2006-12-12 09:33:17 +00:00
Antony Dovgal
75fa1df0e7 add new test 2006-12-11 12:31:54 +00:00
Antony Dovgal
e56bd8eed2 add Unicode support to oci_statement_type() 2006-12-06 16:42: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
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
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
0a5cb31537 fix leak when binding a variable to the same placeholder several times 2006-09-12 11:42:25 +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
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
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
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
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
5cf81310c7 fix #38173 (Freeing nested cursors causes OCI8 to segfault) 2006-07-30 20:50:53 +00:00
Antony Dovgal
93ae33c8a4 add Unicode EXPECT tags 2006-07-10 20:48:04 +00:00
Antony Dovgal
86f475fd40 MFB: fix tests 2006-05-30 22:37:08 +00:00
Antony Dovgal
006cbdadab fix test 2006-05-30 21:54:17 +00:00
Antony Dovgal
10c2fc97df fix #37487 (oci_fetch_array() array-type should always default to OCI_BOTH) 2006-05-18 13:20:00 +00:00
Antony Dovgal
000cf5ca7f MF51: fix #37059 (oci_bind_by_name() doesn't support RAW and LONG RAW fields)
add tests
2006-04-12 19:22:12 +00:00
Antony Dovgal
e931d970ab add new tests 2006-04-05 14:09:31 +00:00
Antony Dovgal
8629171612 fix tests 2006-03-28 09:13:35 +00:00
Antony Dovgal
087ee7d567 don't use deprecated call-time by reference 2006-02-07 14:11:01 +00:00
Antony Dovgal
617242e6fa fix test 2006-01-31 18:39:50 +00:00
Antony Dovgal
f32c1b7c2b add new test 2006-01-20 11:07:51 +00:00
Antony Dovgal
e99778562d add test for bug #36010 2006-01-14 22:22:48 +00:00
Antony Dovgal
1e3efec941 delete descriptor from the hash and avoid crashes on commit/rollback 2006-01-05 13:40:10 +00:00
Antony Dovgal
632e571642 MFB: add missing skipif conditions, fix existing ones
add one missing test
2005-12-21 11:43:24 +00:00
Antony Dovgal
3c78e5804a new test 2005-12-13 21:43:16 +00:00
Antony Dovgal
8338c39ff3 add new tests 2005-12-08 22:31:55 +00:00