Johannes Schlüter
ed03634a8c
Revert 290786: Fixed bug #49521 (PDO fetchObject sets values before calling
...
constructor)
2010-02-11 22:14:06 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Sebastian Bergmann
ebb467ff02
sed -i "s#1997-2009#1997-2010#g" **/*.re **/*.y **/*.l
2010-01-03 08:22:14 +00:00
Matteo Beccati
9326c7e3a2
- Updated pdo_pgsql tests to be 8.5+ friendly
2009-12-25 20:11:07 +00:00
Felipe Pena
286f36e702
- Fixed memory leak when E_STRICT message is getted
2009-12-14 21:44:56 +00:00
Pierrick Charron
7d4643193d
- Fixed bug #50458 (PDO::FETCH_FUNC fails with Closures)
2009-12-14 03:44:33 +00:00
Felipe Pena
93a406ac9c
- Fixed bug #49174 (crash on queryString set)
2009-12-13 19:53:44 +00:00
Felipe Pena
5eae703705
- Fixed bug #50445 (PDO-ODBC stored procedure call from Solaris 64-bit causes seg fault).
...
(Original patch by davbrown4 at yahoo dot com)
2009-12-11 22:30:46 +00:00
Felipe Pena
a94558c855
- Added MAKE_COPY_ZVAL(ppzv, pzv) macro
2009-12-08 01:57:37 +00:00
Pierrick Charron
99ba48dc60
Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN even in the middle of a string).
2009-12-06 21:32:58 +00:00
Ilia Alshanetsky
bf550fe8da
Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN).
2009-12-06 19:34:12 +00:00
Pierrick Charron
e2efe4bc7b
Fixed bug #45120 (PDOStatement->execute() returns true then false for same statement).
2009-12-03 15:24:43 +00:00
Ilia Alshanetsky
51c17c413c
Don't ignore the 2nd parameter to PDO's quote() method that identifies the data type
2009-11-20 18:54:08 +00:00
Felipe Pena
4bafbf58f8
- Fixed bug #49521 (PDO fetchObject sets values before calling constructor)
...
(patch by Pierrick)
2009-11-15 16:20:37 +00:00
Felipe Pena
b394a75ad5
- Fixed PDORow and PDOStatement crashes when instantiating throught Reflection
2009-10-12 17:09:11 +00:00
Felipe Pena
9f8ff2f968
- Revert my mistake
2009-07-19 22:46:03 +00:00
Felipe Pena
a0e5576f23
- Fixed module check (Related to bug #48785 )
2009-07-19 20:53:26 +00:00
Felipe Pena
2adf42f890
- Removed trailing zeros on double to string conversion (noticed on #48924 )
2009-07-16 00:59:34 +00:00
Matteo Beccati
c25b0a2817
MFH
...
- Moved test for bug #44861 to PDO commons and added support for pdo_oci
# This allows scrollable cursors to be tested with all the drivers
# that currently support them (pgsql and oci), ensuring a consistent
# behaviour. The test is skipped when using other drivers.
2009-05-12 23:40:32 +00:00
Kalle Sommer Nielsen
d8f43d476e
MFH: Fix proto
2009-05-02 01:37:33 +00:00
Matteo Beccati
0b576f6f11
MFH:
...
- Reverted previous fix for bug #46274 and properly fixed it
- Fixed bug #48060
# Also added tests for pdo_oci as it's the only other driver currently
# using streams: no regression found
2009-04-23 13:26:10 +00:00
Matteo Beccati
90fb825ad4
MFH:
...
- Fixed bug #44173 (PDO->query() parameter parsing/checking needs an
update)
# The changeset is longer than really needed because pdo_stmt.c was
# refactored to remove the "goto"
2009-04-02 16:41:23 +00:00
Felipe Pena
d2ca66893e
- Fix typo
2009-03-26 13:55:06 +00:00
Felipe Pena
d7c4a27376
MFH: - Fixed bug #47769 (Strange extends PDO)
2009-03-26 12:53:39 +00:00
Felipe Pena
861d51223f
MFH:
...
- Fixed bug #44409 (PDO::FETCH_SERIALIZE calls __construct())
Patch by: matteo at beccati dot com
2009-03-23 23:15:03 +00:00
Andrei Zmievski
cc34210c32
MFH
2009-03-12 16:13:17 +00:00
Johannes Schlüter
162aed0aed
MFH: Fix #46542 Extending PDO class with a __call() function doesn't work
...
as expected
2009-02-17 14:42:26 +00:00
Felipe Pena
b66f9c0a87
- Missing "DROP TABLE"
2009-02-16 19:48:56 +00:00
Felipe Pena
d01257ffd9
- Added missing void param check and arginfo
2009-02-13 12:55:38 +00:00
Felipe Pena
f0a96595d0
MFH:
...
- Fixed bug #43831 ($this gets mangled when extending PDO with persistent connection)
- Fixed bug #45432 (PDO: persistent connection leak)
2009-02-13 02:18:57 +00:00
Felipe Pena
d33be91e72
- MFH: Fixed bug #47297 (pdo_033.phpt fails on PgSQL)
...
Patch by matteo at beccati dot com
2009-02-04 16:40:56 +00:00
Antony Dovgal
9b9cd5421d
create temporary db in the current dir and cleanup on completion
2009-01-05 16:02:04 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Sebastian Bergmann
3c1ed020c7
MFH: Bump copyright year, 2 of 3.
2008-12-31 11:13:54 +00:00
Nuno Lopes
f2f7ed4987
we do not need the strndup() now that php_stream_printf() handles non-null terminated strings correctly
2008-12-12 23:46:05 +00:00
Ilia Alshanetsky
0594dd91d3
Fixed a possible corruption inside PDOStatement::debugDumpParams()
2008-12-11 15:32:24 +00:00
Antony Dovgal
b9653b8358
MFH
2008-12-03 10:18:42 +00:00
Matt Wilmas
fafa7f2709
Fixed error message typo
2008-12-03 00:10:17 +00:00
Dmitry Stogov
7d4fd3fd38
Fixed bug #46409 (__invoke method called outside of object context when using array_map)
2008-11-27 19:01:23 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Felipe Pena
c29ebd8a23
- MFH: Better fix
2008-11-13 18:14:50 +00:00
Pierre Joye
c8103324bf
- MFH: declaration goes first...
2008-11-13 14:40:06 +00:00
Felipe Pena
494dbdb1c1
- MFH: Fixed invalid reads
2008-11-13 13:08:12 +00:00
David Coallier
9334bbd650
- After readying Johannes's mail, the conclusion that a "smarter" system
...
to find out if the return_value had the correct number of elements was
definitely needed. Simply added a difference to both dbh and stmt to
make sure that the error info always has 3 elements.
- Bug #44154 (pdo->errorInfo doesn't always return three elements)
- Now pdo->errorInfo() AND stmt->errorInfo() return three elements.
- [DOC] Make sure that not only the pdo->errorInfo() is returning 3 elms, but
also the PDOStatement object
2008-11-10 18:47:28 +00:00
Felipe Pena
a912d80adb
MFH:
...
- Fixed wrong check
- Improved test
2008-11-05 23:40:38 +00:00
David Coallier
80e3ed5630
- MFH
...
- Bug #44154 : [DOC] Return 3 elements at all times. If the dbh stmt doesn't have
an error code we used to return an array with one element. For the sake
of consistency and verification of returned values at userland we are now
returning an array with 3 elements. Note the two last elements are null but
present
- Bug #4413 : [DOC] If the error code returned by the DBH is null, we return
a null value. This is used in order to help with empty error codes.
2008-11-04 18:28:41 +00:00
Felipe Pena
a5e72fd696
- MFH: Improved fix
2008-11-03 23:44:38 +00:00
Felipe Pena
27965c932f
MFH:
...
- Fixed endless loop in PDOStatement::debugDumpParams()
patch by: Jonah H. Harris <jonah.harris at gmail dot com>
2008-11-03 20:48:51 +00:00
Felipe Pena
e0fededeba
- MFH: Fixed bug #44327 (PDORow::queryString property & numeric offsets / Crash)
2008-11-03 15:33:23 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00