Christopher Jones
ae46d3ca77
OCI8: Remove macros obsoleted by rev 1.71 when Oracle 8 support was dropped
2008-06-05 23:40:42 +00:00
Christopher Jones
7f3604bbab
Code:
...
- Do scope-end release for oci_pconnect (oci8.old_oci_close_semantics=1 gives old behavior)
- Fix session reuse with 10.2 client libs
- Fix the Ping macro version check for 10.2
- Add type check associated with zend_list_find
- Code connection re-organized for reuse
- Format comments
- WS changes
- Prepare for new PECL release
Tests:
- Add new tests
- Rationalize password tests
- Revert use of __DIR__ so tests will work with PHP 5.2
- Update some skipifs to make tests more portable
2008-04-18 00:04:45 +00:00
Antony Dovgal
3fbf99a283
decrement parent's refcount only when destroying the child, not when decrementing child's refcount
2008-04-02 14:56:03 +00:00
Christopher Jones
7060c9574c
oci8: Sync with 5.3 - version macro updates and DRCP tweaks
2008-03-25 02:25:03 +00:00
Christopher Jones
2da1432d75
Fix bug #41069 (db link crash). Also allow SQLT_AFC (aka CHAR datatype) in oci_bind_by_name
2008-03-04 21:45:55 +00:00
Christopher Jones
e51eeed567
OCI8: fix bug #44008 (OCI-Lob->close) & bug #44206 (ref cursor leak)
2008-02-25 23:49:51 +00:00
Christopher Jones
5aeaeac561
MFB: sync DRCP connection pooling and FAN support from PHP 5.3
2008-02-19 01:44:29 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Christopher Jones
fc1a0266bb
MFB: Fix #42496 . Cursor leak fetching LOBs
2007-12-11 06:29:38 +00:00
Christopher Jones
95461653da
Bug #42173 (INTERVAL and TIMESTAMP type fixes)
2007-08-02 19:04:21 +00:00
Antony Dovgal
ac1452b21f
fix #42134 (oci_error() returns false after oci_new_collection() fails)
2007-07-31 19:19:39 +00:00
Christopher Jones
ab25af8aeb
Add casts to fix compilation warnings
2007-07-18 15:09:37 +00:00
Antony Dovgal
a26699d806
more build fixes
2007-07-16 19:16:00 +00:00
Antony Dovgal
8bb463c82d
enable statement cache for non-persistent connections (patch by Chris Jones)
2007-06-08 08:44:26 +00:00
Antony Dovgal
3e09aa938d
fix #41594 (Statement cache is flushed too frequently)
2007-06-05 07:48:16 +00:00
Antony Dovgal
aadee72682
MFB: allocate and define descriptors dynamically
2007-03-01 23:28:13 +00:00
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
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
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Antony Dovgal
f3c0c42b76
use safe_emalloc()
2006-12-25 21:45:09 +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
f63754eb19
fix oci_bind_array_by_name() in Unicode mode
2006-11-23 14:20:59 +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
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
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
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
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
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
f9fd102d73
fix leak on failure
2006-08-09 11:48:50 +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
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
612fbc1b6b
MFB: Added support for BINARY_DOUBLE and BINARY_FLOAT to PDO_OCI and OCI8 (also fixes bug #36764 )
2006-03-18 22:06:45 +00:00
Antony Dovgal
cc318c4f4f
fix #36403 (oci_execute() no longer supports OCI_DESCRIBE_ONLY)
2006-02-15 20:43:37 +00:00
Antony Dovgal
760d8cda46
MF51: fix #36010 (Segfault when re-creating and re-executing statements with bound parameters)
2006-02-03 14:48:24 +00:00
Antony Dovgal
2697320c20
fix #36235 (ocicolumnname delivers empty results before a succesfull ocifetch)
2006-01-31 18:36:59 +00:00
Antony Dovgal
f14d1152fe
fix #36096 (oci_result() returns garbage after oci_fetch() failed)
2006-01-20 11:01:36 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
Antony Dovgal
0b8250468c
improve error message
2005-12-08 22:05:44 +00:00
Antony Dovgal
f698b6ea42
add 1 to the max_length to keep \0 at its place
2005-12-08 21:22:38 +00:00
Antony Dovgal
d93c613429
MF51: use strlen() to get correct element length
2005-12-06 18:54:33 +00:00