Ilia Alshanetsky
5fe5da90ea
Safer way of allowing 'blank' user/pass.
...
# Thanks Wez.
2005-07-09 02:53:07 +00:00
Wez Furlong
057e1973c7
and as a result, need to update the expected data
2005-07-08 15:21:43 +00:00
Wez Furlong
8e30a80733
we declare the column as NOT NULL, so inserting NULL is not a good idea.
2005-07-08 15:20:18 +00:00
Wez Furlong
49c1882837
Add a PDO_ATTR_STRINGIFY_FETCHES attribute, which is used to convert integer or
...
floating point values into strings during fetch. This is a compatibility hack
for drivers that return native types rather than string representations.
We use this flag in the test suite to persuade postgres tests to pass.
2005-07-08 04:13:00 +00:00
Ilia Alshanetsky
5156c7b38f
1st set of fixes to make tests work with MySQL
...
# Additional changes pending
2005-07-07 18:49:58 +00:00
Wez Furlong
5fe199fb0f
remove old test files
2005-07-07 15:36:00 +00:00
Ilia Alshanetsky
721687e11c
Stop on the 1st skip.
2005-07-07 15:32:32 +00:00
Wez Furlong
3c5b9a6e6a
skip if we can't connect (include reason in skip output)
2005-07-07 15:15:01 +00:00
Wez Furlong
c80b4c7440
Need to state NOT NULL here, as DB2 won't allow the UNIQUE constraint without it.
2005-07-07 14:09:58 +00:00
Wez Furlong
32663f7da7
make column names lower case
2005-07-07 13:59:34 +00:00
Wez Furlong
1095da42e0
extra paranoia about the attribute param
2005-07-07 13:56:09 +00:00
Wez Furlong
576ff830a9
pedantic WS
2005-07-07 12:44:44 +00:00
Wez Furlong
f4681fd86b
It's not portable to expect any consistency between drivers in the return value
...
of an exec() when running DDL; revise test.
2005-07-07 12:42:52 +00:00
Wez Furlong
30c916f21a
rename pdo_test.php to pdo_test.inc, add it, and update tests.
2005-07-06 13:19:25 +00:00
Wez Furlong
277f9357f4
juggling to track down a problem with odbc
2005-07-06 13:16:40 +00:00
Wez Furlong
72a75a87ea
last minute debug stuff sneaked in
2005-07-06 06:13:44 +00:00
Wez Furlong
14dbb2dfe9
Add tests that can be redirected to with new test harness feature.
2005-07-06 06:07:26 +00:00
foobar
fa6c536c26
fix tests when error_reporting is E_ALL
2005-06-28 23:33:42 +00:00
Ilia Alshanetsky
e80a144fce
Fixed PDO Mysql tests.
2005-06-24 19:10:41 +00:00
Marcus Boerger
9b3929a7e9
- Need to make PDO::__construct() final to prevent SEGV it isn't called 1st
2005-05-26 18:36:18 +00:00
Marcus Boerger
2ac0540323
- Add test for deriving PDO
2005-05-24 14:26:22 +00:00
Marcus Boerger
88157ad284
- Add new tests for PDO_FETCH_INTO
2005-05-24 12:39:09 +00:00
Marcus Boerger
0eb7282f98
- fetchSingle() was renamed to fetchColumn()
2005-05-21 14:47:33 +00:00
Marcus Boerger
2906d6570c
- Add new test
2005-03-24 12:31:37 +00:00
Marcus Boerger
a66e14645c
- Add new tests
2005-03-21 00:29:25 +00:00
Marcus Boerger
360fbc09b7
- Interface name was changed
2005-03-19 10:55:35 +00:00
Marcus Boerger
92af2b6194
- Update tests
2005-03-10 17:55:36 +00:00
Magnus M��tt�
72276d013a
Add NOT NULL to create so the tests work with Firebird too.
2005-03-10 02:37:20 +00:00
Dan Scott
e90582a990
Add test for PDOStatement::getColumnMeta().
...
Note that PDO_ODBC test fails as it is currently unimplemented.
2005-03-09 00:20:07 +00:00
Dan Scott
83dfcbf3f6
Add simple tests for insert through PDO::prepare/PDOStatement::execute.
...
Tests both question mark placeholders and named parameters.
2005-03-08 18:12:22 +00:00
Dan Scott
570976d236
Add a test for PDOStatement::columnCount().
2005-03-08 17:39:41 +00:00
Marcus Boerger
bbccc37f84
- Add new tests
2005-03-07 22:43:27 +00:00
Marcus Boerger
efb3529b7f
- Add new tests
2005-03-07 22:36:12 +00:00
Dan Scott
48a6151051
Test PDO::beginTransaction and PDO::rollBack.
2005-03-05 21:03:12 +00:00
Marcus Boerger
f76f510185
- Add tests
...
- Fix testname
- Drop unnecessary include line (was wrong anyway)
2005-03-04 01:29:27 +00:00
Marcus Boerger
03a4a8c11d
- Add some fetch column related capailities
...
- Add direct (classtype based) unserializing capabilities
2005-02-27 22:32:11 +00:00
Wez Furlong
8be87fbab0
fix broken line endings
2005-02-26 15:35:41 +00:00
Marcus Boerger
f982890a58
- Missed during last committs somehow
2005-02-24 00:14:50 +00:00
Marcus Boerger
cb9658feef
- Revert signature of PDO:prepare()
...
old: proto object PDO::prepare(string statment [, array driver_options [, string classname ]])
now: proto object PDO::prepare(string statment [, array options])
param 'classname' and and 'ctor_args' are now set through options
using index PDO_ATTR_STATEMENT_CLASS
- Change all deriver_options parameters to 'options' to reflect the fact
that they may contain statement as well as driver specific flags
2005-02-22 20:25:56 +00:00
Marcus Boerger
ab8f1f316b
- Add new test
2005-02-21 18:55:51 +00:00
Marcus Boerger
fc2276c955
- Change tests to use ' instead of " for string values becuase that is
...
working for more SQL dialects.
2005-02-20 19:25:17 +00:00
Marcus Boerger
94c286f2ef
- Attempt at an unified test suite
2005-02-20 17:56:19 +00:00