summaryrefslogtreecommitdiff
path: root/ext/sqlite
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-03-21 00:32:48 +0000
committerMarcus Boerger <helly@php.net>2005-03-21 00:32:48 +0000
commit06a96fdfe5bf93822b9190aee68519a20aee29c6 (patch)
tree6bfb2b4bd4fd47e32c1e802b5f11e33d4ceea882 /ext/sqlite
parenta66e14645c986ef58e01298b3461eeddd8dc16ac (diff)
downloadphp-git-06a96fdfe5bf93822b9190aee68519a20aee29c6.tar.gz
- Fix test (warnings are expected since there is no support for this)
Diffstat (limited to 'ext/sqlite')
-rwxr-xr-xext/sqlite/tests/pdo/pdo_022.phpt79
1 files changed, 12 insertions, 67 deletions
diff --git a/ext/sqlite/tests/pdo/pdo_022.phpt b/ext/sqlite/tests/pdo/pdo_022.phpt
index 9af33bf1a0..b817773ad6 100755
--- a/ext/sqlite/tests/pdo/pdo_022.phpt
+++ b/ext/sqlite/tests/pdo/pdo_022.phpt
@@ -14,71 +14,16 @@ require_once($PDO_TESTS . 'pdo_022.inc');
?>
===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===