Commit Graph

99 Commits

Author SHA1 Message Date
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
Dan Scott
0a7164c970 Add test for PDO::ATTR_CASE. 2005-10-26 23:46:52 +00:00
Dan Scott
52f9772049 Correct non-standard SQL. Standard SQL would define "DEFAULT NULL" -- but
that is the default value if the DEFAULT clause is omitted anyways.
2005-10-26 08:32:25 +00:00
Marcus Boerger
91ac79530d - SPL example was changed, so change PDO test accordingly 2005-10-13 19:48:07 +00:00
Marcus Boerger
bd6cbd6a0e - MFB Do not try to autoload the class, use internal only 2005-10-13 18:41:04 +00:00
Dmitry Stogov
1bedfbeb24 Unicode support 2005-10-12 12:13:54 +00:00
Marcus Boerger
babb2d5337 - Add new test 2005-10-07 23:23:00 +00:00
Marcus Boerger
272ff777c5 - Add missing test from base
- Change require to require_once (found by kevin)
2005-10-03 15:06:06 +00:00
Marcus Boerger
a39841e57d - Allow to check for default statment class 2005-10-02 18:45:59 +00:00
Marcus Boerger
8ece2140cb - Add ability to change default statement class for PDO::execute()/query() 2005-10-02 18:32:05 +00:00
Dmitry Stogov
1b1b864941 Unicode support 2005-09-26 07:23:49 +00:00
Marcus Boerger
a28c82fceb - Fixed Bug #34590 User defined PDOStatement class can't implement methods 2005-09-21 22:53:50 +00:00
Marcus Boerger
d9ed9945cb - MFB 2005-09-21 18:49:37 +00:00
Ilia Alshanetsky
3953b14024 Make PDO use class constants 2005-09-20 00:33:42 +00:00
Wez Furlong
434fa24dfa Merge changes from 5.1 branch.
Add compat header that allows PDO head to compile against PHP 5.0 and PHP 5.1.
2005-09-11 05:04:00 +00:00
Dmitry Stogov
27f39c6826 Unicode support 2005-08-16 16:29:16 +00:00
Dmitry Stogov
08fe0d1da3 Test engine is improved to support unicode mode 2005-08-15 14:37:55 +00:00
Dmitry Stogov
0bdfac1169 Tests are fixed according to new var_dump()/pront_r() format (to pass in non-unicode mode) 2005-08-15 07:55:41 +00:00
Marcus Boerger
e4b07b3ebe - Test the colon is optional in binding 2005-07-22 14:27:35 +00:00