]> granicus.if.org Git - php/commitdiff
Berkeley DB 5's SQL frontend gives a slightly different error than libsqlite
authorJohannes Schlüter <johannes@php.net>
Tue, 1 Jun 2010 16:39:36 +0000 (16:39 +0000)
committerJohannes Schlüter <johannes@php.net>
Tue, 1 Jun 2010 16:39:36 +0000 (16:39 +0000)
ext/sqlite3/tests/sqlite3_15_open_error.phpt

index 49ddc23bb878dc32e3baa42ad6379ec1c46bdc77..1fcaca9c724a3cde0f530b8dfea643c4e58a2099 100644 (file)
@@ -16,7 +16,7 @@ echo "Done\n";
 unlink($unreadable);
 ?>
 --EXPECTF--
-exception 'Exception' with message 'Unable to open database: unable to open database file' in %s/sqlite3_15_open_error.php:%d
+exception 'Exception' with message 'Unable to open database: %s' in %s/sqlite3_15_open_error.php:%d
 Stack trace:
 #0 %s/sqlite3_15_open_error.php(%d): SQLite3->__construct('%s')
 #1 {main}