Commit Graph

85 Commits

Author SHA1 Message Date
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Christopher Jones
0445dfeabf MFB New tests for getAttribute 2007-08-31 21:11:52 +00:00
Christopher Jones
5ffabb1576 MFB 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:11:03 +00:00
Christopher Jones
a3b4762c70 MFH: PDO_OCI: fix Instant Client build broken by logic correction in previous Solaris lib/lib32 fix 2007-08-17 13:33:07 +00:00
Antony Dovgal
da2a302e78 fix lib/lib32 checks to work with broken Solaris shell 2007-08-14 12:14:53 +00:00
Christopher Jones
eda449eeac pdo_oci: merge changes to build with Oracle Database 11g 2007-08-10 06:57:41 +00:00
Christopher Jones
0f8ab9db14 Fix message grammar and capitalization 2007-08-02 19:37:30 +00:00
foobar
f0f44a3652 - Fix some configure --help texts 2007-07-03 17:24:39 +00:00
Christopher Jones
25ce6d9580 MFB: Basic PDO->quote() for PDO_OCI 2007-07-03 05:47:53 +00:00
Christopher Jones
aeae7b495b MFB: Fix Bug #11345 Seg fault after NLS environment initialization error 2007-06-30 03:02:10 +00:00
Christopher Jones
52c0acf6fd MFB. Test for old bug fixed in some previous, unknown change 2007-06-29 15:02:38 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
8c44974966 initialize memory with 0's, so we won't get garbage if the statement does not set the var 2006-12-27 10:30:47 +00:00
Pierre Joye
26c54d4c42 - build fix the other driver as well (a macro would be nicer) 2006-12-10 03:12:11 +00:00
Edin Kadribasic
78c2c50c86 MFB: Remove pecl includes (Steph), except pdo_odbc which will remain broke 2006-05-11 21:48:57 +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
623b5de1b2 fix #35907 (PDO_OCI uses hardcoded lib path $ORACLE_HOME/lib) 2006-01-06 11:48:03 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Antony Dovgal
54047149ad fix config.m4 2005-11-27 18:35:35 +00:00
Antony Dovgal
ed978d2f1a plug memory leak 2005-11-27 18:34:16 +00:00
foobar
04dffec1c4 - Use right define: ZEND_MODULE_API_NO as these are PHP modules, not Zend extensions 2005-11-25 15:40:14 +00:00
Antony Dovgal
04ebdfa967 fix #35003 (Warning: PDOStatement::fetch(): column 0 data was too large for buffer and was)
this is just a quick fix, the real one will follow after the weekend from Wez
2005-10-28 15:01:47 +00:00
foobar
6fe5050c45 fix typo 2005-09-24 23:22:44 +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
George Schlossnagle
26fd380b1d this is the number of params, not the top index 2005-08-30 19:59:11 +00:00
Wez Furlong
f6276a2b8a zts fixes 2005-08-12 23:32:31 +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