From 591fb2d97cbe8949097085d24244cd5a82b9d6ed Mon Sep 17 00:00:00 2001 From: =?utf8?q?Magnus=20M=EF=BF=BD=EF=BF=BDtt=EF=BF=BD?= Date: Wed, 9 Mar 2005 05:29:57 +0000 Subject: [PATCH] Add one more test. --- ext/pdo_sqlite/tests/pdo_022.phpt | 84 +++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100755 ext/pdo_sqlite/tests/pdo_022.phpt diff --git a/ext/pdo_sqlite/tests/pdo_022.phpt b/ext/pdo_sqlite/tests/pdo_022.phpt new file mode 100755 index 0000000000..baab31ea24 --- /dev/null +++ b/ext/pdo_sqlite/tests/pdo_022.phpt @@ -0,0 +1,84 @@ +--TEST-- +PDO_SQLite: PDOStatement::getColumnMeta +--SKIPIF-- + +--FILE-- + +===DONE=== + +--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) +} +===DONE=== -- 2.50.1