Commit Graph

31733 Commits

Author SHA1 Message Date
Dmitry Stogov
b81255d4fd ZTS fix 2005-09-12 06:31:54 +00:00
3c3f298f18 ChangeLog update 2005-09-12 05:43:21 +00:00
6ad8a44ab9 ChangeLog update 2005-09-11 05:43:58 +00:00
Wez Furlong
37ace0651b merge other PDO fixes from 5.1 branch.
Allow pdo_sqlite to build against 5.0 and 5.1 too.
2005-09-11 05:08:49 +00:00
Wez Furlong
d84239ae87 touch file 2005-09-11 05:04:43 +00:00
Wez Furlong
434fa24dfa Merge changes from 5.1 branch.
Add compat header that allows PDO head to compile against PHP 5.0 and PHP 5.1.
2005-09-11 05:04:00 +00:00
Wez Furlong
739c0680d0 actually reset the statement when closeCursor() is called. 2005-09-11 04:59:41 +00:00
6bb7ca6c56 ChangeLog update 2005-09-10 05:40:02 +00:00
Rolland Santimano
05e365bab3 - str_pad(): Use u_countChar32() for codepoint counting, eumalloc/eurealloc() for Unicode mallocs. 2005-09-09 19:07:18 +00:00
Antony Dovgal
4c8425e9ba new test 2005-09-09 14:08:03 +00:00
Antony Dovgal
98899d1083 fix problem appearing when binding empty values 2005-09-09 14:00:03 +00:00
Derick Rethans
0c6c0eaa51 - Added Rollands latest upgrades. 2005-09-09 09:54:16 +00:00
Dmitry Stogov
3c2e00f903 Fixed huge memory leaks in ZTS mode 2005-09-09 08:19:56 +00:00
Dmitry Stogov
ce0c17aa95 MFH (is_sublass_of("A","B") should call __autoload() for "A" and "B") 2005-09-09 06:47:18 +00:00
a7357c5910 ChangeLog update 2005-09-09 05:35:59 +00:00
Ilia Alshanetsky
5754b7321a Allow retrieval of query parse errors from SQLite.
# Patch by Nuno Lopes
2005-09-08 21:07:26 +00:00
Dmitry Stogov
0638374ec9 Avoid unnecessary copying/freeing 2005-09-08 16:15:16 +00:00
Ilia Alshanetsky
1e13bca414 Fixed bug #34420 (Possible crash inside curl_multi_remove_handle()). 2005-09-08 14:49:58 +00:00
Derick Rethans
9d04a8e369 - Make ord() work on binary strings too. 2005-09-08 14:07:40 +00:00
Antony Dovgal
034e794fe9 use "connections" instead of "links" everywhere to avoid possible confusion 2005-09-08 13:16:24 +00:00
Dmitry Stogov
b0b0f8147d Fixed craches in substr_replace() 2005-09-08 12:40:01 +00:00
Antony Dovgal
fb8258e8b7 fix phpinfo() output for iconv extension
(convert unicode values to string before outputting them)
2005-09-08 11:48:07 +00:00
Dmitry Stogov
49c3b14f53 Unicode support for PHP constants 2005-09-08 11:10:34 +00:00
Rob Richards
d1cf2c5ffe add save options parameter 2005-09-08 10:34:37 +00:00
Rob Richards
65f96ca6f2 add additional constants
remove un-needed ifdefs
2005-09-08 10:33:57 +00:00
Dmitry Stogov
a082983adb catch operator shouldn't call __autoload () too 2005-09-08 10:32:28 +00:00
Dmitry Stogov
90b45fcbbd Fixed crash on AIX 2005-09-08 06:18:47 +00:00
fdb78c1816 ChangeLog update 2005-09-08 05:37:56 +00:00
Rolland Santimano
a441e78984 - Unicode impl of substr_replace() 2005-09-08 05:05:36 +00:00
Derick Rethans
f872d3346c - Fix buglett with date() that cause truncated strings to be returned when
Unicode is turned on.
2005-09-07 19:09:27 +00:00
Dmitry Stogov
7eeb91187b Fixed memory allocation bug 2005-09-07 15:34:50 +00:00
Antony Dovgal
324080065d new test 2005-09-07 15:27:09 +00:00
Ilia Alshanetsky
2195f7ec74 Upgraded sqlite2 lib to 2.8.16 2005-09-07 15:10:15 +00:00
Antony Dovgal
49cf0eff6a add Andi & Wez as lead maintainers and make myself lead too 2005-09-07 13:05:51 +00:00
Antony Dovgal
984f303713 I doubt that all these people are going to develop it in PECL,
so remove them and fix those complains about non-existing users.
2005-09-07 12:44:19 +00:00
Antony Dovgal
8137d9a075 prepare to PECL release 2005-09-07 12:40:38 +00:00
Edin Kadribasic
adcc19f9ec Support for Windows (Michael Wallner) 2005-09-07 11:16:57 +00:00
Antony Dovgal
ec8531cfb1 don't try to fetch resource when there is 0 args 2005-09-07 08:58:32 +00:00
Dmitry Stogov
18e259480e Fixed unicode support for substr_count() 2005-09-07 07:00:03 +00:00
1e72f205b6 ChangeLog update 2005-09-07 05:33:15 +00:00
Antony Dovgal
1287891c3b removed __FUNCTION__ (by popular demand) 2005-09-06 21:44:53 +00:00
Antony Dovgal
4a2b8cb6d0 fix credits 2005-09-06 21:42:26 +00:00
Edin Kadribasic
b5a5b22cbb Sync windows build and link against instant client libs 2005-09-06 21:38:16 +00:00
Edin Kadribasic
e18b812ba6 Remove utf-8 chars 2005-09-06 21:30:28 +00:00
Antony Dovgal
726f3e3881 workaround for some b0rked compilers 2005-09-06 21:11:19 +00:00
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