Commit Graph

67 Commits

Author SHA1 Message Date
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
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