tests: sqlite changed error messages
[m6w6/ext-psi] / tests / sqlite / sqlite001.phpt
index a5e131674cd0ca2e072b795a732f8c0ef60ac4f1..cf1a3bc44b289167565e20fc38b75f7a1dffd2d0 100644 (file)
@@ -52,6 +52,11 @@ if ($rc) {
 
 sqlite3\close($db);
 
+$rc = sqlite3\exec($db, "SELECT *", "callback", new stdClass, $error);
+if ($rc) {
+       printf("%s: '%s'\n", sqlite3\errstr($rc), $error);
+}
+
 ?>
 ===DONE===
 --EXPECTF--
@@ -72,7 +77,8 @@ string(%d) "3.%d.%s"
 2: id = 3
 2: data = three
 
-SQL logic error or missing database: 'no tables specified'
+SQL logic error%s
+%s: ''
 ===DONE===
 --CLEAN--
 <?php