cvs: php-src /ext/sqlite/tests/pdo pdo_022.phpt
| From: | Marcus Boerger | Date: | Mon, 21 Mar 2005 00:32:50 +0000 |
| Subject: | cvs: php-src /ext/sqlite/tests/pdo pdo_022.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-31032@lists.php.net to get a copy of this message | ||
helly Sun Mar 20 19:32:50 2005 EDT
Modified files:
/php-src/ext/sqlite/tests/pdo pdo_022.phpt
Log:
- Fix test (warnings are expected since there is no support for this)
http://cvs.php.net/diff.php/php-src/ext/sqlite/tests/pdo/pdo_022.phpt?r1=1.1&r2=1.2&ty=u
Index: php-src/ext/sqlite/tests/pdo/pdo_022.phpt
diff -u php-src/ext/sqlite/tests/pdo/pdo_022.phpt:1.1 php-src/ext/sqlite/tests/pdo/pdo_022.phpt:1.2
--- php-src/ext/sqlite/tests/pdo/pdo_022.phpt:1.1 Fri Mar 11 19:51:39 2005
+++ php-src/ext/sqlite/tests/pdo/pdo_022.phpt Sun Mar 20 19:32:48 2005
@@ -14,71 +14,16 @@
?>
===DONE===
<?php exit(0); ?>
---EXPECT--
-array(7) {
- ["native_type"]=>
- string(7) "integer"
- ["sqlite:decl_type"]=>
- string(3) "INT"
- ["flags"]=>
- array(0) {
- }
- ["name"]=>
- string(2) "id"
- ["len"]=>
- int(-1)
- ["precision"]=>
- int(0)
- ["pdo_type"]=>
- int(2)
-}
-array(7) {
- ["native_type"]=>
- string(6) "string"
- ["sqlite:decl_type"]=>
- string(11) "VARCHAR(10)"
- ["flags"]=>
- array(0) {
- }
- ["name"]=>
- string(3) "val"
- ["len"]=>
- int(-1)
- ["precision"]=>
- int(0)
- ["pdo_type"]=>
- int(2)
-}
-array(7) {
- ["native_type"]=>
- string(6) "string"
- ["sqlite:decl_type"]=>
- string(11) "VARCHAR(16)"
- ["flags"]=>
- array(0) {
- }
- ["name"]=>
- string(4) "val2"
- ["len"]=>
- int(-1)
- ["precision"]=>
- int(0)
- ["pdo_type"]=>
- int(2)
-}
-array(6) {
- ["native_type"]=>
- string(7) "integer"
- ["flags"]=>
- array(0) {
- }
- ["name"]=>
- string(8) "COUNT(*)"
- ["len"]=>
- int(-1)
- ["precision"]=>
- int(0)
- ["pdo_type"]=>
- int(2)
-}
+--EXPECTF--
+Warning: PDOStatement::getColumnMeta(): SQLSTATE[IM001]: Driver does not support this function:
driver doesn't support meta data in %spdo_022.inc on line %d
+bool(false)
+
+Warning: PDOStatement::getColumnMeta(): SQLSTATE[IM001]: Driver does not support this function:
driver doesn't support meta data in %spdo_022.inc on line %d
+bool(false)
+
+Warning: PDOStatement::getColumnMeta(): SQLSTATE[IM001]: Driver does not support this function:
driver doesn't support meta data in %spdo_022.inc on line %d
+bool(false)
+
+Warning: PDOStatement::getColumnMeta(): SQLSTATE[IM001]: Driver does not support this function:
driver doesn't support meta data in %spdo_022.inc on line %d
+bool(false)
===DONE===