Antony Dovgal
a7faaa1b14
new tests
2006-12-22 13:30:10 +00:00
Antony Dovgal
ed11386c3d
MFH
2006-12-21 22:08:26 +00:00
Antony Dovgal
66d9c24ccc
improve tests
2006-12-21 19:23:26 +00:00
Antony Dovgal
6546914e68
new tests
2006-12-21 12:41:36 +00:00
Antony Dovgal
beeb5ddec4
disable tests
2006-12-12 13:22:44 +00:00
Antony Dovgal
fd23b700fb
fix test
2006-12-12 13:11:36 +00:00
Antony Dovgal
2f5229c9fc
MFH: skip BFILE tests if Oracle is not on localhost
2006-12-12 13:00:01 +00:00
Antony Dovgal
fc0e395678
add new tests
2006-12-12 09:33:33 +00:00
Antony Dovgal
f5543e8279
MFH
2006-12-12 09:28:18 +00:00
Antony Dovgal
ab765ca497
MFH
2006-12-11 12:34:09 +00:00
Antony Dovgal
03785ddb5f
add new test
2006-12-11 12:32:06 +00:00
Antony Dovgal
f8d4de338b
MFH: fix #39732 (oci_bind_array_by_name doesn't work on Solaris 64bit)
2006-12-08 20:56:29 +00:00
Antony Dovgal
88e827f3f1
MFH
2006-11-10 23:03:32 +00:00
Antony Dovgal
7563d4f573
fix possible issue with negative values in oci_set_prefetch
...
(reported by Chris Jones)
2006-11-10 20:13:36 +00:00
Antony Dovgal
4106eee7c7
fix segfault in ZTS mode when statements containing sub-statements are destroyed in wrong order
2006-11-10 16:33:41 +00:00
Antony Dovgal
91a1333c21
MFH: fix PECL bug #9061 (oci8 might reuse wrong persistent connection)
2006-10-18 14:23:23 +00:00
Antony Dovgal
3bd0f950da
fix win32 build
2006-10-13 14:26:34 +00:00
Antony Dovgal
d087c87ffe
MFH: use connection charset when reading LOB data
2006-10-12 10:04:12 +00:00
Antony Dovgal
3a48a290a0
MFH: 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-09 09:34:55 +00:00
Antony Dovgal
a13937e5a2
fix test
2006-09-27 08:44:19 +00:00
Antony Dovgal
3bd1c646b7
add PHP version detection to this branch too, since I'm using this branch to make PECL releases
2006-09-18 21:23:42 +00:00
Antony Dovgal
e5ab519397
MFH
2006-09-13 10:44:11 +00:00
Antony Dovgal
6e0915b631
new tests
2006-09-12 20:32:39 +00:00
Antony Dovgal
d1202b7986
declare oci_lob_seek()
2006-09-12 20:27:28 +00:00
Antony Dovgal
7800711d34
MFH: fix leak when binding a variable to the same placeholder several times
2006-09-12 11:42:44 +00:00
Antony Dovgal
75b8cd741b
last portion of z/Z fixes
2006-08-31 16:15:24 +00:00
Antony Dovgal
d221f46ab6
update version in phpinfo()
2006-08-24 13:03:04 +00:00
Antony Dovgal
f6bbb02da6
bump version number
2006-08-24 12:46:54 +00:00
Antony Dovgal
567cf55085
compat fixes
2006-08-24 12:05:19 +00:00
Antony Dovgal
f1b1c65413
release 1.2.2 from 5_2 branch, as HEAD doesn't have safe_mode anymore
2006-08-24 11:59:15 +00:00
Antony Dovgal
08a9ab02ba
minor improvements
2006-08-22 11:09:12 +00:00
Antony Dovgal
70e59e2999
MFH: fix PECL bug #8112 (OCI8 persistent connections misbehave when Apache process times out)
2006-08-21 16:41:13 +00:00
Antony Dovgal
3a0f857173
minor CS/WS fixes
2006-08-15 13:08:34 +00:00
Antony Dovgal
88e752c007
MFH: error message might be NULL
2006-08-15 12:27:24 +00:00
Antony Dovgal
8c170d480a
MFH: OCIBreak() is not supported on Windows
2006-08-15 12:19:46 +00:00
Antony Dovgal
ae61bb7bb8
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:58 +00:00
Antony Dovgal
c9c05bece9
add support for NCLOBs
...
fix #35973 (Error ORA-24806 occurs when trying to fetch a NCLOB field)
2006-08-09 15:24:27 +00:00
Antony Dovgal
946594bb6b
MFH: fix #38161 (oci_bind_by_name() returns garbage when Oracle didn't set the variable)
2006-08-09 12:15:43 +00:00
Antony Dovgal
e3cfc40cac
fix leak on failure
2006-08-09 11:49:06 +00:00
Antony Dovgal
4c5691bd02
MFH: fix #8112 (Persistent connections misbehave when Apache process times out)
2006-08-09 10:16:50 +00:00
Antony Dovgal
861c55b417
long -> int
2006-08-06 14:09:58 +00:00
Antony Dovgal
a1a42253d9
fix PECL bug #7827
...
add small optimization
2006-08-05 20:56:43 +00:00
Antony Dovgal
1bf915ca2d
improve error message on Win32
2006-08-01 12:08:25 +00:00
Antony Dovgal
f5b5d34a27
MFH: fix #37581 (oci_bind_array_by_name clobbers input array when using SQLT_AFC, AVC)
2006-07-31 10:30:23 +00:00
Antony Dovgal
aa1ced04cb
MFH: fix #38173 (Freeing nested cursors causes OCI8 to segfault)
2006-07-30 20:51:24 +00:00
Antony Dovgal
7987bba743
improve connection timeout check (implements FR #38210 )
2006-07-26 06:59:40 +00:00
Antony Dovgal
0212ec6c71
MFH: fix #37931 (possible crash after database restart when using persistent connections)
2006-06-28 15:03:33 +00:00
Antony Dovgal
1fdd8d7b2a
MFH: fix typo and bug #37886
2006-06-23 08:26:15 +00:00
Antony Dovgal
ba8f17e483
MFH: display oci8 version in phpinfo()
2006-06-19 18:21:28 +00:00
Dmitry Stogov
1dbaae2795
Added automatic module globals management
2006-06-15 18:33:09 +00:00
Antony Dovgal
9123bee257
MFH:
...
fix Unicode LOB problems using callbacks to read LOBs
using chunk_size*X buffer should speed up LOB reading a bit
many thanks to Massimo Squillace <msquillace at sogei dot it> for the patch.
2006-06-07 13:36:51 +00:00
Antony Dovgal
a588f2dc60
MFH: fix OCIPasswordChange() parameters (patch by pholdaway at technocom-wireless dot com)
...
prevent username, password and new password from being empty
2006-06-05 07:35:32 +00:00
Antony Dovgal
9246ba2a82
more test fixes, this time support Oracle 10
2006-05-30 22:34:16 +00:00
Antony Dovgal
c1272d8972
fix tests
2006-05-30 22:27:32 +00:00
Antony Dovgal
2817ddccf5
fix test
2006-05-30 21:54:42 +00:00
Antony Dovgal
bc5b8eabea
MFH
2006-05-30 21:38:12 +00:00
Antony Dovgal
bb4c7ff0e9
MFH: don't require libociei, this allows us to build ext/oci8 against basiclite OIC package
2006-05-30 13:16:48 +00:00
Antony Dovgal
9e1b944989
MFH: improve sed expressions
2006-05-29 18:12:55 +00:00
Antony Dovgal
be0fc2b801
MFH: fix #37531 (oci8 persistent connection corruption)
2006-05-29 10:59:30 +00:00
Antony Dovgal
095162c3d4
re-enable OCILobRead2() support
2006-05-22 04:17:42 +00:00
Antony Dovgal
25eca319fa
MFH: attempt to fix OCILobRead2() related problems
2006-05-20 13:46:59 +00:00
Antony Dovgal
749f4ac2ab
MFH: fix #37487 (oci_fetch_array() array-type should always default to OCI_BOTH)
2006-05-18 13:21:08 +00:00
Antony Dovgal
bb82fb0530
MFH: disable OCILobRead2() support on Win32
2006-05-15 08:34:40 +00:00
Antony Dovgal
0881dbd101
MFH: fix #37392 (Unnecessary call to OCITransRollback() at the end of request)
2006-05-10 10:07:28 +00:00
Antony Dovgal
5751903b1b
fix #37059 (oci_bind_by_name() doesn't support RAW and LONG RAW fields)
...
add tests
2006-04-12 19:21:35 +00:00
Antony Dovgal
2d2f1cf0c6
oops.. I didn't want to commit this..
2006-04-12 18:01:35 +00:00
Antony Dovgal
2e461783d0
correct fix for bug #37055
2006-04-12 17:59:32 +00:00
Antony Dovgal
bac1fda336
fix #37055 (incorrect reference counting for persistent OCI8 connections)
2006-04-12 13:37:51 +00:00
Antony Dovgal
52296072e0
add new tests
2006-04-05 14:09:01 +00:00
Antony Dovgal
7522fb7272
add missing defines to .w32
2006-04-05 14:07:40 +00:00
Antony Dovgal
569ce842f1
fix #36934 (OCILob->read() doesn't move internal pointer when reading 0's)
2006-04-05 14:06:00 +00:00
Antony Dovgal
ea22696fb9
fix tests
2006-03-28 09:12:45 +00:00
Antony Dovgal
6dc42ef117
fix #36851 (Documentation and code discrepancies for NULL data)
2006-03-28 09:12:18 +00:00
Antony Dovgal
6c101d6400
fix #36820 (Privileged connection with an Oracle password file fails)
2006-03-22 09:45:39 +00:00
Antony Dovgal
f9835c3786
change oci_field_type() to return VARCHAR2 instead of VARCHAR
...
(fixes feature request #36800 )
2006-03-21 15:47:31 +00:00
Antony Dovgal
7019b978a0
reimplement php_oci_lob_read() and fix PECL bug #5995
...
now the function dosn't try to read data by blocks, as this is nearly impossible
to do with Unicode and regular LOBs in the same time
2006-03-21 15:06:50 +00:00
Antony Dovgal
4e75cd5548
Added support for BINARY_DOUBLE and BINARY_FLOAT to PDO_OCI and OCI8 (also fixes bug #36764 )
2006-03-18 22:06:31 +00:00
Antony Dovgal
6ce1f43902
MFH
...
add workaround for Oracle server crash, use OCIServerVersion() instead of OCIPing()
fix #36250 (PHP Causes ORA-07445 Core dump in Oracle server 9.2.x)
2006-03-07 07:47:43 +00:00
Antony Dovgal
716d22a8f6
MFH: fix #36403 (oci_execute() no longer supports OCI_DESCRIBE_ONLY)
2006-02-15 20:44:55 +00:00
Antony Dovgal
3bafa8cead
don't use deprecated call-time by reference
2006-02-07 14:11:31 +00:00
Antony Dovgal
52232a7f7a
fix #36010 (Segfault when re-creating and re-executing statements with bound parameters)
2006-02-03 14:46:42 +00:00
Antony Dovgal
526bc44ff7
fix test
2006-01-31 18:39:28 +00:00
Antony Dovgal
3a800fe146
MFH: fix #36235 (ocicolumnname delivers empty results before a succesfull ocifetch)
2006-01-31 18:38:52 +00:00
Antony Dovgal
1070dec09a
fix typo
2006-01-20 16:58:48 +00:00
Antony Dovgal
4697099ab0
add new test
2006-01-20 11:07:34 +00:00
Antony Dovgal
5fb6e0703f
MFH: fix #36096 (oci_result() returns garbage after oci_fetch() failed)
2006-01-20 11:02:49 +00:00
Antony Dovgal
1d72f55e7d
MFH: reorganize resource destruction
2006-01-18 10:12:34 +00:00
Antony Dovgal
4278ffd3b4
MFH: fix #36055 (possible OCI8 crash in multithreaded environment)
2006-01-17 23:44:51 +00:00
Antony Dovgal
8488861e12
add test for bug #36010
2006-01-14 22:23:43 +00:00
Antony Dovgal
92f050786f
MFH: destroy regular connections in RSHUTDOWN if ZTS is used
...
this fixes problem with Oracle9 (not Oracle10) and Apache2/worker - connections are not being closed correctly
see #35205 and similar issues
2006-01-10 08:34:28 +00:00
Antony Dovgal
8eb44c317e
MFH: delete descriptor from the hash and avoid crashes on commit/rollback
2006-01-05 13:42:35 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Antony Dovgal
c92ae847c7
add missing skipif conditions
...
fix existing ones
2005-12-21 11:42:06 +00:00
Antony Dovgal
6c65d6df59
add new test
2005-12-13 21:43:36 +00:00
Antony Dovgal
ccdeb10696
new tests
2005-12-08 22:30:23 +00:00
Antony Dovgal
84051ba42b
MFH: improve error message
2005-12-08 22:07:30 +00:00
Antony Dovgal
c287dec802
MFH: add 1 to the max_length to keep \0 at its place
2005-12-08 21:22:52 +00:00
Antony Dovgal
31c35e5cad
add 4 new tests
...
remove ENV tag from the old ones
2005-12-06 19:28:25 +00:00
Antony Dovgal
dfba12435d
use strlen() to get correct element length
2005-12-06 18:53:35 +00:00
foobar
a3af52c11e
MFH: list_entry -> zend_rsrc_list_entry
2005-12-05 23:38:04 +00:00
Antony Dovgal
fc8d9584b1
fix Win32 compile failure
2005-12-01 19:25:48 +00:00
Antony Dovgal
f496bf9dda
MFH: fix potential problem in php_oci_bind_post_exec() when OCIDateToText() fails
2005-12-01 13:47:22 +00:00
Antony Dovgal
3756201e04
upgrade bundled OCI8 to v.1.1
2005-12-01 13:39:48 +00:00
Antony Dovgal
c797466259
MF44: fix #33383 (crash when retrieving empty LOBs)
2005-10-10 10:44:39 +00:00
Antony Dovgal
e0e9b5ac39
fix #34731 , patch by novicky at aarongroup dot cz
2005-10-04 18:15:18 +00:00
foobar
9477097564
MFH: Nuked EOLs from error messages
2005-08-18 13:34:41 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Antony Dovgal
2a128504a2
destroy session after destroying error handle
...
SQLT_CHR is allowed too
2005-06-13 09:30:49 +00:00
foobar
a20383ba06
- Unify the "configure --help" texts
2005-05-29 23:17:16 +00:00
Antony Dovgal
5ca4b8383e
handle unsupported datatype (OCIBindByName segfaults somewhere in OCI lib when
...
unknown type is provided)
2005-04-28 14:10:42 +00:00
Antony Dovgal
4707b43193
fix bug preventing from building oci8 as shared module
...
(patch by stanislav dot voroniy at portavita dot nl)
2005-02-25 11:31:10 +00:00
Antony Dovgal
d0427feee4
fix bug #31623 (OCILogin does not support password grace period)
2005-01-20 18:39:48 +00:00
foobar
69eec3f3b9
MFB_4_3: Quote macro names in AC_DEFUN()
2004-12-30 07:08:39 +00:00
Antony Dovgal
78edc7e65a
add Oracle Instant Client support (initial patch by cjbj at hotmail dot com)
2004-12-23 16:20:09 +00:00
Andi Gutmans
7c3eaef39d
- Don't reuse Oracle connections in multi-threaded environments until
...
- we decide to either not support ZTS connection pooling (kind of
- pointless as PHP isn't stable in ZTS mode) or fix the 100% reproducable
- crash bug on oci_connect() under Windows most probably due to this
- problem.
2004-11-22 21:44:42 +00:00
Andi Gutmans
737568997b
*** empty log message ***
2004-11-21 06:17:32 +00:00
Antony Dovgal
07f84de680
commit fixes by <mikael dot suvi at trigger dot ee>
...
(segfaults under heavy load)
2004-10-23 09:32:44 +00:00
Antony Dovgal
3a5822585e
fix possible segfault
2004-10-10 15:04:21 +00:00
Antony Dovgal
b0b4b6eff2
prevent deadlocks when re-using previously established persistent connection
2004-10-10 10:54:26 +00:00
Antony Dovgal
454b9659c5
fix bug #29652 (number of FD to ocius.msb is growing)
...
many thanks to Sergei V. Rozinov <S dot Rozinov at sibron dot ru> for testing
2004-09-28 16:59:10 +00:00
Antony Dovgal
e2568f0a4f
64-bit related changes
...
./configure will now behave differently if $ORACLE_HOME/lib32 exists
(this mostly happens at Solaris AFAIK)
2004-09-12 06:38:31 +00:00
Antony Dovgal
fdb578219b
this file shouldn't be in the repository at all
2004-08-31 08:31:09 +00:00
Antony Dovgal
cbd5396cbb
fix build
2004-07-19 07:35:41 +00:00
Andi Gutmans
56f8195fe5
- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
...
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Antony Dovgal
f6eb507b2c
fix #29012 (Potential race during first connection) thanks to cjbj at hotmail dot com
2004-07-15 11:00:14 +00:00
Antony Dovgal
08486a0ea3
fix #28978 (multiple OCIBindByName on the same placeholder eats memory)
2004-07-12 07:40:05 +00:00
Ilia Alshanetsky
e81addb5ca
C++ comments.
2004-04-29 12:59:26 +00:00
Antony Dovgal
af96ad84b5
hmm. this comma is supposed to be a semicolon.
2004-04-26 14:49:41 +00:00
Antony Dovgal
e001a041f3
add account names & emails
2004-03-24 07:46:18 +00:00
Hartmut Holzgraefe
eeb172b29f
"The Visa to Sibiria" (work in progress)
...
Adding a package.xml to a bundled extension does not only
ease the transition to PECL whereever suitable but also
allows to build and install an extension as "shared" using
the PEAR installer without having to deal with phpize and
friends by hand
2004-03-23 19:46:10 +00:00
Ard Biesheuvel
81f05c18f5
Wordsize fixes
2004-02-25 20:16:27 +00:00
Antony Dovgal
7837416c2b
this should really fix compile failure with gcc 2.96
2004-02-20 12:47:56 +00:00
foobar
26332c0436
Fix compile failure
2004-02-20 03:16:51 +00:00
foobar
6e15162724
Only use Z_TYPE* with zvals..
2004-02-20 03:05:42 +00:00
Stig Bakken
4127b304ea
* email address update
2004-02-12 19:05:41 +00:00
Stig Bakken
f8125ed92d
* update my email address
2004-02-12 19:03:03 +00:00
Antony Dovgal
d3cd05c95a
fix bug #27149
...
(offset should start with 1)
2004-02-05 08:29:16 +00:00
Antony Dovgal
f1c40a4a22
-remove obsolete types
...
-changes in config.m4 to make oci8 to compile with Oracle 10g
(thanks to cjbj at hotmail dot com for reporting both problems)
2004-02-03 14:21:09 +00:00
Antony Dovgal
c7699856fc
add missing alias for ocifreecursor()
2004-02-02 08:26:15 +00:00
Antony Dovgal
fec01159b1
fix yet another possible segfault
2004-02-02 08:09:53 +00:00
Antony Dovgal
fab593566e
two fixes:
...
-oci_lob_load shouldn't reset LOB's length to zero
-Oracle feels bad, but reports no error, when trying to erase LOB with offset bigger than LOB
2004-01-28 07:15:55 +00:00
Antony Dovgal
6fe26e966d
change to use different allocator (Sascha, thanks =) )
2004-01-26 15:42:24 +00:00
Antony Dovgal
83a1eaf75a
fix this annoying notice about limited range
2004-01-26 15:25:32 +00:00
Antony Dovgal
f64928bdce
improve debug messages
2004-01-26 15:21:52 +00:00
Antony Dovgal
9fcb1dd2c9
oops =(
...
forgot these brackets..
2004-01-26 14:02:08 +00:00
Antony Dovgal
15f22a5796
fix oci_field_type_raw's proto
...
oci_collection_element_get should return FALSE only if there is no such element and NULL, if it's null
2004-01-26 13:59:42 +00:00
Antony Dovgal
a729ce0434
add collections support to win32 build
2004-01-22 14:42:17 +00:00
Antony Dovgal
dbb29baefe
add missing protos
...
and some minor changes
2004-01-22 08:39:50 +00:00
Antony Dovgal
261726099c
MFB
...
oci_lob_save() should be removed indeed, but we're already in feature freeze =(
2004-01-22 08:05:14 +00:00
Antony Dovgal
02ded9766a
*change constant name, coz it doesn't comply with others
...
*add constant's alias, coz others do have aliases
*change protos (oops =))
*add notices to collection functions
*change coll_element_get & coll_assign to inform user, that this type of element is not supported yet.
2004-01-21 16:18:58 +00:00