1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 03:03:26 +02:00
Commit Graph

117 Commits

Author SHA1 Message Date
Johannes Schlüter 24916b2884 Revert 290786: Fixed bug #49521 (PDO fetchObject sets values before calling
constructor)
2010-02-11 22:14:06 +00:00
Matteo Beccati 731466cca3 - Updated pdo_pgsql tests to be 8.5+ friendly 2009-12-25 20:11:07 +00:00
Pierrick Charron 762ea0fb52 - Fixed bug #50458 (PDO::FETCH_FUNC fails with Closures) 2009-12-14 03:44:33 +00:00
Felipe Pena 7c3bd45b82 - Fixed bug #49521 (PDO fetchObject sets values before calling constructor)
(patch by Pierrick)
2009-11-15 16:20:37 +00:00
Felipe Pena d85064adcf - Fixed PDORow and PDOStatement crashes when instantiating throught Reflection 2009-10-12 17:09:11 +00:00
Matteo Beccati c6aa455ff1 - 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:39:57 +00:00
Matteo Beccati 7634a5a9b4 - 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:40:33 +00:00
Felipe Pena e96a4a7d63 - Fix typo 2009-03-26 13:54:53 +00:00
Felipe Pena 35ddc72b28 - Fixed bug #47769 (Strange extends PDO) 2009-03-26 12:51:30 +00:00
Felipe Pena 11dde4a7c5 - Fixed bug #44409 (PDO::FETCH_SERIALIZE calls __construct())
Patch by: matteo at beccati dot com
2009-03-23 23:02:06 +00:00
Felipe Pena 9b8e2baf6b - Missing "DROP TABLE" 2009-02-16 19:48:49 +00:00
Felipe Pena d2e40edc0a - Fixed bug #47297 (pdo_033.phpt fails on PgSQL)
Patch by matteo at beccati dot com
2009-02-04 16:40:13 +00:00
Felipe Pena 06a7527c65 - Removed UEXPECT(F) 2008-05-27 13:16:27 +00:00
Felipe Pena 8778ef1d21 - Add check for avoid segfault when trying instantiate PDORow manually 2008-05-14 12:28:28 +00:00
Nuno Lopes c7e53aa963 MFB 2008-04-10 18:51:54 +00:00
Dmitry Stogov a0378d3514 Fixed test 2008-03-18 06:44:54 +00:00
Johannes Schlüter 237ad54d4c - Fix get_parent_class() of PDORow instances 2008-03-03 18:58:59 +00:00
Nuno Lopes 2657e1ee2a MFB 2008-02-19 14:46:41 +00:00
Ilia Alshanetsky e86494394d MFB: Skip test for PostgreSQL driver since error is too dissimilar to other
drivers
2008-01-03 16:47:01 +00:00
David Soria Parra 3178b2f2c7 Test for bug 43663 2007-12-30 17:48:24 +00:00
Ilia Alshanetsky 5bae3d0f3c MFB: Fixed bug #43139 PDO ignores ATTR_DEFAULT_FETCH_MODE in some cases with
fetchAll()
2007-10-31 12:58:39 +00:00
Ilia Alshanetsky 8a8c3fe038 MFB: Test not relavent for sqlite that uses built-in bound syntax 2007-10-30 23:04:01 +00:00
Ilia Alshanetsky 38c68da824 MFB: Fixed bug #43130 (Bound parameters cannot have - in their name) 2007-10-29 22:37:44 +00:00
Antony Dovgal ccd97f3a21 fix test names 2007-05-07 17:23:53 +00:00
Ilia Alshanetsky c8ba0f9058 MFB: Fixed bug #36798 (Error parsing named parameters with queries
containing high-ascii chars).
2006-12-05 18:05:56 +00:00
Hannes Magnusson 380439a39a MFB: fix test 2006-12-05 15:59:09 +00:00
Ilia Alshanetsky 10a8b1a152 MFB: Fixed test (user is a reserved keyword in pgsql) 2006-12-04 17:55:56 +00:00
Ilia Alshanetsky b5e7220dcb MFB: Fixed bug #39527 (Failure to retrieve results when multiple unbuffered,
prepared statements are used in pdo_mysql).
2006-12-02 17:55:05 +00:00
Antony Dovgal 7499bd74b6 add test 2006-11-28 16:55:25 +00:00
Ilia Alshanetsky b38a50bb4f MFB: Fixed bug #39398 (Booleans are not automatically translated to
integers).
2006-11-07 17:57:37 +00:00
Ilia Alshanetsky 8690a5a2d9 MFB:
Fixed bug #37870 (pgo_pgsql tries to de-allocate unused statements).
	Fixed bug #36681 (pdo_pgsql driver incorrectly ignored some errors).
	Fixed test for bug #38253 not to use faulty SQL that generates
	errors in PostgreSQL
2006-09-19 15:46:25 +00:00
Antony Dovgal ed72b00458 typo 2006-08-21 17:11:46 +00:00
Ilia Alshanetsky 24441c81da MFB: Added skip condition for sqlite2 driver, that uses more forgiving
emulated prepared statements.
2006-08-16 14:10:16 +00:00
Ilia Alshanetsky f148d3fa4c MFB: Fixed bug #38394 (PDO fails to recover from failed prepared statement
execution).
2006-08-09 14:46:35 +00:00
Antony Dovgal 34cfab8e7c MFB: bug #38253 (PDO produces segfault with default fetch mode)
add test
2006-07-30 11:20:41 +00:00
Dmitry Stogov 6abfcba273 Destructors call order is changed (Fixed bug #36759 - Objects destructors are invoked in wrong order when script is finished) 2006-07-12 07:55:04 +00:00
Hartmut Holzgraefe 743deb09c9 "transaction" tests should test commit, too, not only rollback 2006-07-10 16:29:24 +00:00
Hartmut Holzgraefe 4ea4434475 two additional tests improving pdo/pdo_mysql test code coverage 2006-07-10 14:05:46 +00:00
Hartmut Holzgraefe d2cae0ccba SHOW ENGINES is only available in PHP 4.1.2 and above (and the output
format slightly changed between 4.1 and 5.0, too),
SHOW VARIABLES LIKE 'have_%' is the more portable alternative here
2006-07-10 07:39:23 +00:00
Antony Dovgal 08ff489ef8 fix skip reason 2006-05-17 10:12:44 +00:00
Marcus Boerger 88c4284df7 - Add test 2006-03-18 23:13:43 +00:00
Pierre Joye bb1ec86f9d - remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
2006-03-08 00:43:32 +00:00
Marcus Boerger 75b3d578d3 - Add unicode results 2006-02-26 12:26:31 +00:00
Marcus Boerger e610f5959f - s/FETCH_PROPSLATE/FETCH_PROPS_LATE/ as per IRC discussion 2006-02-24 16:04:13 +00:00
Marcus Boerger 252ad86917 - Add FETCH_PROPSLATE: fetch props after calling ctor
# Fixes bug #36428
2006-02-24 15:56:03 +00:00
Dmitry Stogov 36002f16c3 Fixed test file 2006-02-22 12:22:07 +00:00
Marcus Boerger 693c5ad27f - Update test 2006-01-22 22:06:02 +00:00
Marcus Boerger 90a321d854 - MFB 2005-12-11 15:28:52 +00:00
Marcus Boerger 3f8491c2fa - Show an error if no pdo object can be created 2005-12-11 15:24:38 +00:00
Dmitry Stogov 3c166ac947 Fixed test (unicode support) 2005-10-28 07:31:21 +00:00