Commit Graph

31688 Commits

Author SHA1 Message Date
Antony Dovgal
e0ed2b45ff new tests 2005-09-06 19:33:18 +00:00
Antony Dovgal
3df94e1112 Updated OCI8 driver
This updated fixes (this list is not complete):
-------------------
#33915 - crash in _oci_close_session
#26393 - Segfault during request shutdown in _oci_close_session() (oci8.c:2443)

#32741 - hang on ociexecute() with collections (only with 10g, works with 9i)
#32325 - can't retrieve collection using OCI8
#33583 - Apache1.3.33 Segmentation fault with php5 & OCI_New_Collection

#32361 - connection oci_connect stay persist after process the php
#29013 - multiple logins cause handles become invalid
#28944 - OCITypeByName: OCI-21522 with two connections

Fixed by connection handling rewrite.

#32140 - NVARCHAR columns are truncated
#31042 - oci_fetch_* sets field value to false
#27156 - OCIFetchInto returns false as column value when column contains >1 umlaut

Fixed by multiplying buffer size by 3.

#33866 - OCIlogon do not returns conn resource for account with expired paswd
#33365 - logon fails when password expires

Fixed by adding new oci_password_change() call syntax.

#33159 - DB-connect via webserver fails after DB-restart ORA-24327
#30808 - oci8 cannot connect after restarting DB
#30127 - lost oracle connection. need restart apache.
#29902 - oci8 doesn't disconnect sessions, overloads oracle server
#29779 - (the same issue with the Oracle server going offline)
#26829 - Killed Oracle Sessions openned with OCIPLogon()

Fixed by adding oci8.ping_interval option.

#32988ext/oci8: OCI doesn't support DB external authentication

Fixed by adding support of external credentials (turned off by default).

Added new INI options:
----------------------
oci8.ping_interval
oci8.max_persistent
oci8.persistent_timeout
oci8.privileged_connect
oci8.statement_cache_size
oci8.default_prefetch
oci8.old_oci_close_semantics

See the updated docs for the detailed descriptions.

Major changes:
--------------
- connection handling algorithm rewritten. That should add stability and fix all non-reproducible crashes etc;
- extension refactored and divided into several files to improve readability and to make it easier to maintain;
- added support of statement caching;
- added support of privileged connections using external credentials;
- added new INI options to manage persistent connections;
- fixed oci_close() to close connections correctly.
2005-09-06 19:31:59 +00:00
Derick Rethans
8774e8e1aa - Updated the framework, cleaned up some code.
#- Basically the only real thing left is the body for the filters.
2005-09-06 18:46:37 +00:00
7c0f7fa845 ChangeLog update 2005-09-06 05:42:57 +00:00
Rolland Santimano
8404034552 Pointer arithmetic with char * rather than void * 2005-09-05 16:37:45 +00:00
foobar
7036ac440c touch 2005-09-05 16:20:56 +00:00
foobar
80079e61a5 - Fixed bug #34311 (unserialize() crashes with characters above 191 dec) 2005-09-05 16:19:35 +00:00
Rolland Santimano
8d5d2125d0 - Unicode impl of str_pad() 2005-09-05 10:55:35 +00:00
f1c781bc87 ChangeLog update 2005-09-05 05:37:47 +00:00
Frank M. Kromann
6e6def1e77 MFB: Fix for #34369
Add extra parameter to mssql_connect to force a new connection
2005-09-05 05:05:34 +00:00
Marcus Boerger
5deac4859e - Add missing docu tag 2005-09-04 18:57:21 +00:00
Marcus Boerger
4cba6ac94d - Update docu 2005-09-04 18:51:50 +00:00
Edin Kadribasic
856b81ff0c touch 2005-09-04 00:58:49 +00:00
Edin Kadribasic
baecb3d18d MFB 2005-09-04 00:58:21 +00:00
Edin Kadribasic
0161d1bfd1 MFB 2005-09-03 23:52:56 +00:00
1365bee427 ChangeLog update 2005-09-03 05:39:11 +00:00
foobar
3cfa505102 MFB: - Fixed bug #34307. We were not calling on_modify handler to set the default
value in case setting the one from .ini file failed. (Andrei)
2005-09-02 21:08:11 +00:00
Marcus Boerger
a826dd2918 - Fix docu 2005-09-02 19:16:43 +00:00
Marcus Boerger
03136fc95d - Update docu 2005-09-02 19:15:30 +00:00
Ilia Alshanetsky
3ed0413de5 Resolved bug #34240.
# Thanks to xuefer at 21cn dot com for providing it.
2005-09-02 17:25:10 +00:00
Rob Richards
9a95a98628 Fix crash: handler name not length needs to be passed to php_error_docref 2005-09-02 15:38:22 +00:00
Derick Rethans
5169c32573 - Added date_time_set, date_date_set and date_isodate_set() functions, and
setTime, setDate and setISODate() methods.
2005-09-02 14:57:42 +00:00
foobar
7d92b356d9 revert 2005-09-02 14:08:09 +00:00
foobar
51ec5ca6da Check the status properly 2005-09-02 13:50:39 +00:00
Derick Rethans
42fe62541e - Update timezone database to version "2005m". 2005-09-02 12:31:41 +00:00
Derick Rethans
9495b782b2 - Added comments into the database file, so that we can more easily spot
changes.
2005-09-02 11:39:42 +00:00
Derick Rethans
31f3f81c82 - MF51: Fixed bug #34304 (date() doesn't have a modifier for ISO Week Day). 2005-09-02 09:41:08 +00:00
Derick Rethans
e4fd549af9 - Fixed bad MF51. 2005-09-02 09:39:21 +00:00
foobar
f52a9e84ed - Moved pfpro, ovrimos and mcve to PECL
# Pierre will create the packages for these
2005-09-02 09:10:01 +00:00
foobar
1496355faf MFB: Always return something, even if it succeeds :) 2005-09-02 08:26:05 +00:00
Dmitry Stogov
59d2e3f3aa Fixed bug #34260 (Segfault with callbacks (array_map) + overloading) 2005-09-02 07:46:30 +00:00
Rob Richards
acfde98e6e Fix key length so params passed by array can be retrieved by getParameter() 2005-09-02 06:37:29 +00:00
df01d7678a ChangeLog update 2005-09-02 05:33:21 +00:00
foobar
d61c1eeeba MFB 2005-09-02 05:18:30 +00:00
Ilia Alshanetsky
5f1aa243c3 Fixed bug #34331 (php crashes when variables_order is empty). 2005-09-01 19:14:54 +00:00
foobar
ec0b4f91f4 - Fixed bug #34307 (OnUpdateStringUnempty INI options can be set as empty) 2005-09-01 14:42:54 +00:00
George Schlossnagle
fbd6ce4db5 Resolution to http://pecl.php.net/bugs/bug.php?id=5193 for all drivers. 2005-09-01 14:39:58 +00:00
foobar
08b695a3e8 - Revert -a to -A change, bad idea: It disables EXISTING lines too! 2005-09-01 14:33:37 +00:00
George Schlossnagle
23a74267d9 protect against underflow - refs http://pecl.php.net/bugs/bug.php?id=5193 2005-09-01 14:31:34 +00:00
Dmitry Stogov
bd307bc0bd Fixed bug #34137 (assigning array element by reference causes binary mess) 2005-09-01 13:21:04 +00:00
Dmitry Stogov
176a76dbec MFH 2005-09-01 13:03:48 +00:00
Derick Rethans
06562e3e8e - Fixed bug #33414 (Comprehensive list of incorrect days returned after
strtotime() / date() tests).
2005-09-01 12:41:43 +00:00
foobar
24a101a23b If it is added in 5.1, is it still news for PHP 6? 2005-09-01 12:00:25 +00:00
Dmitry Stogov
cbd1c89e81 Fixed bug #34277 (array_filter() crashes with references and objects) 2005-09-01 11:58:41 +00:00
Dmitry Stogov
f61b9bac52 Fixed bug #34310 (foreach($arr as $c->d => $x) crashes) 2005-09-01 10:55:05 +00:00
Dmitry Stogov
7b7551085b Support for class constants and static members for internal classes 2005-09-01 10:05:01 +00:00
foobar
3991ed8bf6 Bump up libxml2 version requirement to >= 2.6.8 2005-09-01 08:25:32 +00:00
525374ba69 ChangeLog update 2005-09-01 05:40:39 +00:00
Ilia Alshanetsky
f376178101 Fixed bug #34001 (pdo_mysql truncates numberic fields at 4 chars) 2005-09-01 01:56:36 +00:00
foobar
805bb588d9 Fixed bug #34323 2005-08-31 22:29:24 +00:00