Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Unified Diff: third_party/sqlite/src/test/alter3.test

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/alter2.test ('k') | third_party/sqlite/src/test/alter4.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/alter3.test
diff --git a/third_party/sqlite/src/test/alter3.test b/third_party/sqlite/src/test/alter3.test
index 69efc50ec7b2e7c665502a9d8ba8d664b6cdbb34..74ba33c5e1c72c95b71048a29fc9408b4ea0a0cf 100644
--- a/third_party/sqlite/src/test/alter3.test
+++ b/third_party/sqlite/src/test/alter3.test
@@ -28,7 +28,7 @@ ifcapable !altertable {
# Determine if there is a codec available on this test.
#
-if {[catch {sqlite3 -has_codec} r] || $r} {
+if {[catch {sqlite3 -has-codec} r] || $r} {
set has_codec 1
} else {
set has_codec 0
@@ -55,6 +55,7 @@ proc get_file_format {{fname test.db}} {
do_test alter3-1.1 {
execsql {
+ PRAGMA legacy_file_format=ON;
CREATE TABLE abc(a, b, c);
SELECT sql FROM sqlite_master;
}
@@ -198,6 +199,7 @@ do_test alter3-4.1 {
file delete -force test.db
set ::DB [sqlite3 db test.db]
execsql {
+ PRAGMA legacy_file_format=ON;
CREATE TABLE t1(a, b);
INSERT INTO t1 VALUES(1, 100);
INSERT INTO t1 VALUES(2, 300);
« no previous file with comments | « third_party/sqlite/src/test/alter2.test ('k') | third_party/sqlite/src/test/alter4.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698