Commit Graph

162 Commits

Author SHA1 Message Date
Stanislav Malyshev
47980ee785 better detection for client libraries 2008-09-03 18:42:12 +00:00
Pierre Joye
6c45fceb01 - MFH: fix EOL broken by previous commit 2008-08-01 19:09:47 +00:00
Pierre Joye
d5f767c0e0 drop 8.x support 2008-08-01 18:57:30 +00:00
Jani Taskinen
281352fe02 MFH: Fix PDO configure dependancy: If --disable-pdo is used, disable all
MFH: enabled-by-default drivers. Also error out if you try to configure
MFH: a driver as static but pdo is disabled.
2008-07-25 13:46:24 +00:00
Pierre Joye
39ae248465 - MFH: Segfault when an exception is thrown on persistent connections 2008-07-22 06:51:00 +00:00
Pierre Joye
86a493f435 - SAB: #41996, Problem accessing Oracle ROWID (Martin Jansen) 2008-07-21 17:35:50 +00:00
Felipe Pena
739a4d503b MFB: Fixed bug #44373 (PDO_OCI extension compile failed) 2008-03-08 14:03:20 +00:00
Nuno Lopes
61eb7ae554 remove unused PHP_EXTNAME_API macros.
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Christopher Jones
922d1fce29 Sync with 5.2 2007-12-11 06:57:39 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Christopher Jones
63bfa32aee New tests for getAttribute 2007-08-31 21:09:43 +00:00
Christopher Jones
af387e49ba Add $dbh->getAttribute() support for ATTR_SERVER_VERSION, ATTR_SERVER_INFO, ATTR_CLIENT_VERSION, ATTR_AUTOCOMMIT. Sync WS between PHP 5 & 6 and add a couple of casts. 2007-08-31 21:08:48 +00:00
Christopher Jones
440ed3da7f PDO_OCI: fix Instant Client build broken by logic correction during previous Solaris lib/lib32 fix 2007-08-17 13:30:36 +00:00
Antony Dovgal
35591acebd MFH 2007-08-14 12:15:04 +00:00
Christopher Jones
decd278a8d pdo_oci: MFH with Ilia's OK: changes to build with Oracle Database 11g 2007-08-10 07:01:47 +00:00
Christopher Jones
5534e4381d Fix message grammar and capitalization 2007-08-02 19:38:08 +00:00
foobar
7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
Christopher Jones
38af2c5741 Added basic PDO->quote() functionality to PDO_OCI 2007-07-03 04:32:27 +00:00
Christopher Jones
d6e320d849 Fix Bug #11345 Seg fault after NLS environment initialization error 2007-06-30 02:30:35 +00:00
Christopher Jones
82c2452bf9 Test for old bug fixed in some previous, unknown change 2007-06-29 15:01:51 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Antony Dovgal
ab84306fc7 fix #41043 (pdo_oci crash when freeing error text with persistent connection) 2007-04-10 20:28:49 +00:00
Antony Dovgal
c5732112a9 fix leak
readuce size of the buffer to prevent ORA-01461
2007-01-26 15:07:45 +00:00
Antony Dovgal
725217571e fix PECL bug #7295 (ORA-01405: fetched column value is NULL on LOB fields) 2007-01-22 12:49:22 +00:00
Ilia Alshanetsky
e095b94609 Fixed compiler warnings 2007-01-01 19:24:50 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Antony Dovgal
b16f925e37 MFH 2006-12-27 10:31:10 +00:00
Edin Kadribasic
bbf97549b8 Remove pecl includes (Steph), except pdo_odbc which will remain broke 2006-05-11 21:43:59 +00:00
Wez Furlong
30f98ae77b set min pdo dep to 1.0.3, which will be the new pecl release 2006-05-02 02:43:11 +00:00
Antony Dovgal
eab2f690fd fix skip condition 2006-03-28 23:15:40 +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
Sara Golemon
a790d6ed3d Fix copy/paste problems for instantclient 2006-02-16 02:03:13 +00:00
Antony Dovgal
96723680d0 MFH: fix #35907 (PDO_OCI uses hardcoded lib path $ORACLE_HOME/lib) 2006-01-06 11:48:19 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
Wez Furlong
17683295e4 switch to package2.xml 2005-12-04 22:34:26 +00:00
Wez Furlong
559c624806 Fix PECL Bug #6102; fails to configure for instant client on OSX.
In addition, make it work for the instant client install on my gentoo box.
2005-11-30 03:18:09 +00:00
Antony Dovgal
3b3f8137c3 MFH: plug memory leak
fix config.m4
2005-11-27 18:36:11 +00:00
Wez Furlong
339b4dbd6f going stable 2005-11-26 21:25:39 +00:00
foobar
366832fbd2 MFH: Fixed wrong usage of ZEND_EXTENSION_API_NO (these are not Zend exts :) 2005-11-25 16:01:41 +00:00
Wez Furlong
00df9b67ce Fixes PECL Bug #5868; wrong iters count for OCIStmtExecute 2005-11-04 18:11:40 +00:00
Edin Kadribasic
fbc6470cb6 Fix ZTS build 2005-11-01 14:18:20 +00:00
Wez Furlong
872661b91d prep for PECL release 2005-11-01 03:04:49 +00:00
Wez Furlong
b3b9ee1467 hrmm, typo fix. 2005-11-01 03:04:25 +00:00
Wez Furlong
2baf1500e0 Closes PECL Bug #5722; BLOB support was half-baked. 2005-10-31 02:11:27 +00:00
Antony Dovgal
579c9abfb3 MFH: quick fix for #35003 (Warning: PDOStatement::fetch(): column 0 data was too large for buffer and was) 2005-10-28 15:02:09 +00:00
Antony Dovgal
e9de9f3aeb fix TSRM build 2005-10-28 12:00:10 +00:00
Wez Furlong
fab0baa274 refs #34630.
Real lob support for oracle will appear after the PHP 5.1 release.
2005-09-25 00:47:00 +00:00
foobar
1536082186 fix typo 2005-09-24 23:23:25 +00:00
Ilia Alshanetsky
bfe844e41e MFH: Make PDO use class constants 2005-09-20 00:35:21 +00:00
Wez Furlong
77d3a41f8a update package.xml files and version numbers, in anticipation of a big bunch of releases. 2005-09-11 05:27:30 +00:00
Wez Furlong
e53f6428ac merge George's fixes back from HEAD 2005-09-11 01:42:41 +00:00
Wez Furlong
f4007c8f6b closes #33707: error information was not passed up to PDO::query(). 2005-09-10 21:38:07 +00:00
Wez Furlong
9b73ab50b6 Add support for instant client 10.1.0.4.
Theoretically also add support for 10.2 libraries.
Prep for PECL release.
2005-07-27 03:48:08 +00:00
Wez Furlong
1bd3483dea fix bug when query was rewritten from ? to :name 2005-07-12 03:18:17 +00:00
Wez Furlong
4f22ac0cdd improve handling of bound input parameters when no maximal length value is set;
default to 4000 as the maximal length, which is the biggest size possible
without using a LONG type (if you specify anything larger than this, you'll end
up with ORA-1461).

Don't assume that all parameters were output parameters after execution, as
this would clobber the input values when used in a loop.
2005-07-12 02:43:39 +00:00
Antony Dovgal
b2141b04d2 do not set error_code to HY000 when there was NO error
reset both handle & statement error codes to 0
2005-07-07 23:03:22 +00:00
Antony Dovgal
b0e700524f free parameter when requested to do so 2005-07-07 23:02:22 +00:00
Wez Furlong
618afbdfc8 adopt common tests 2005-07-07 13:58:35 +00:00
Ilia Alshanetsky
c594f47f76 Fixed test skip conditions.
# Same needs to be done to odbc, but it seems access is restricted
# for "privileged" folks.
2005-06-21 13:42:23 +00:00
foobar
15cf2a60b0 - Added PHP_CHECK_PDO_INCLUDES macro (caches the result) 2005-06-14 00:00:53 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
Marcus Boerger
360fbc09b7 - Interface name was changed 2005-03-19 10:55:35 +00:00
Magnus M��tt�
d49ecd51c1 Add more tests. 2005-03-09 03:50:10 +00:00
Magnus M��tt�
d06dec1ac0 Remove old test. 2005-03-09 03:45:24 +00:00
Wez Furlong
3efc383a07 probably fix for ? placeholders not working with oci 2005-03-09 02:13:06 +00:00
Magnus M��tt�
088972feee Fix segv when einfo->errcode is not available.
Add missing NULL entry to oci_methods.
2005-03-09 01:56:43 +00:00
Magnus M��tt�
ddde4497b2 Add more tests. 2005-03-08 23:00:34 +00:00
Magnus M��tt�
12e60c9c1e Add test 017. 2005-03-07 15:52:58 +00:00
Magnus M��tt�
865c23e947 Add Oracle tests for PDO. 2005-03-01 21:09:12 +00:00
Rasmus Lerdorf
99f832a206 If pdo is disabled, skip all the pdo extensions. 2005-02-28 08:18:47 +00:00
Wez Furlong
55f53a5a96 symlinked pdo drivers under ext.
Enabled PDO and PDO_SQLITE by default.
Fixup PDO header detection so that it searches in the correct order, and
correctly picks up the headers when building from outside of the source
tree.

TODO: make pdo_XXX auto-enable when XXX is enabled.  Volunteers welcome.
2005-02-17 04:23:15 +00:00
Antony Dovgal
47e1961561 add markers for nice vim foldings 2005-02-14 13:38:09 +00:00
Antony Dovgal
7d4bf3ccd9 free errmsg & prevent leaks 2005-02-14 13:31:34 +00:00
Antony Dovgal
ff23184893 fix indentation and add check for PDO includes 2005-02-14 12:52:34 +00:00
Hartmut Holzgraefe
1f98a966c5 fix aclocal "underquoted argument" warnings 2005-02-13 07:31:02 +00:00
Antony Dovgal
175bf7e9a3 set username && password only if they were specified 2005-02-13 00:57:48 +00:00
Wez Furlong
201ec3dc02 prep for release 2005-02-09 05:04:40 +00:00
Wez Furlong
29380a8e54 update for input/output parameters change 2005-02-07 01:17:24 +00:00
Wez Furlong
d87c5ec288 update for api changes 2005-02-06 22:34:53 +00:00
Wez Furlong
26f97a911b Eliminate unused parameter.
Don't start a transaction when asking for a cursor with pgsql.
Fix parameter binding for sqlite3
2005-01-21 00:39:03 +00:00
Edin Kadribasic
93e4213bfe Add support for the 'official' build machine layout 2005-01-20 15:54:35 +00:00
Wez Furlong
1312fe469e Fix segfault on stmt close.
Make scrollable cursors actually work
2005-01-20 06:06:26 +00:00
Wez Furlong
84aa902015 Generate pdo_oci.dll for modern SDKs and pdo_oci8.dll for ye-olde oci805 libs.
I'm told that oci805 is required for connectivity to oci805 servers, which are
no longer supported in more recent SDK releases.

Edin: please grab:

http://download.oracle.com/otn/nt/instantclient/instantclient-basic-win32-10.1.0.3-20050113.zip
http://download.oracle.com/otn/nt/instantclient/instantclient-sdk-win32-10.1.0.3-20050113.zip

and extract them under php_build, so that you end up with php_build/instantclient10_1
2005-01-20 03:33:17 +00:00
Wez Furlong
a9d98544de Allow drivers to select bind emulation on a per statement basis 2005-01-18 04:58:50 +00:00
Wez Furlong
d056f96a2f Add configure support for Oracle InstantClient SDK 2005-01-13 04:55:56 +00:00
Wez Furlong
7552fe23ff make scrollable cursors consistent with odbc; removing bogus attribute 2005-01-12 05:58:58 +00:00
Wez Furlong
459b4f85d3 Add support for scrollable cursors.
Enable PDO_ATTR_PREFETCH and default it to 100Kb of prefetch buffer.
2005-01-12 05:47:03 +00:00
Wez Furlong
c55b4ab516 update for recent adjustments 2005-01-11 02:59:52 +00:00
Wez Furlong
fe1a87d02d half-hearted adjustment for sqlstate error codes; will do a better job
when I'm sitting down with a working oci env
2005-01-07 05:25:02 +00:00
Wez Furlong
0a42a1f422 Errr... fix leak 2004-12-21 00:37:01 +00:00
Wez Furlong
72040f7f2a more method table adjustments.
mysql driver needs work with the error message stuff.
Other drivers need a bit more auditing...
2004-09-23 20:43:11 +00:00
Wez Furlong
83472de48e Fix some misbehaving pecls (my own included ;-) 2004-07-31 18:46:18 +00:00
Wez Furlong
86b0967775 fix for empty_string changes.
Don't forget to allocate bytes for NUL terminators
2004-07-19 14:40:46 +00:00
Antony Dovgal
0a896dd987 add tests 2004-06-14 20:10:27 +00:00
Antony Dovgal
73060a89ee fix config.m4
add fold markers
2004-06-14 19:58:35 +00:00
Antony Dovgal
737bc357cb fix couple of memory leaks 2004-05-25 14:57:56 +00:00
Wez Furlong
40ab777dc8 Update package/module 2004-05-21 17:33:58 +00:00
Wez Furlong
a53edd047e Fix return type 2004-05-21 15:29:09 +00:00