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

Unified Diff: third_party/sqlite/src/test/vtab_shared.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/vtab_alter.test ('k') | third_party/sqlite/src/test/wal.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/vtab_shared.test
diff --git a/third_party/sqlite/src/test/vtab_shared.test b/third_party/sqlite/src/test/vtab_shared.test
index e195ef232b2d5218c1cf3683bb351426fcc4eb48..ce2e432fcfa23d858f8e81e0c95473bd566cbdd2 100644
--- a/third_party/sqlite/src/test/vtab_shared.test
+++ b/third_party/sqlite/src/test/vtab_shared.test
@@ -144,17 +144,19 @@ do_test vtab_shared-1.12.2 {
# Try a rename or two.
#
-do_test vtab_shared-1.13.1 {
- execsql { ALTER TABLE t1 RENAME TO t4 }
- execsql { SELECT * FROM t4 } db
-} {1 2 3 4 5 6}
-do_test vtab_shared-1.13.2 {
- execsql { SELECT * FROM t4 } db2
-} {1 2 3 4 5 6}
-do_test vtab_shared-1.13.3 {
- execsql { ALTER TABLE t2 RENAME TO t5 }
- execsql { SELECT * FROM t4 } db2
-} {1 2 3 4 5 6}
+ifcapable altertable {
+ do_test vtab_shared-1.13.1 {
+ execsql { ALTER TABLE t1 RENAME TO t4 }
+ execsql { SELECT * FROM t4 } db
+ } {1 2 3 4 5 6}
+ do_test vtab_shared-1.13.2 {
+ execsql { SELECT * FROM t4 } db2
+ } {1 2 3 4 5 6}
+ do_test vtab_shared-1.13.3 {
+ execsql { ALTER TABLE t2 RENAME TO t5 }
+ execsql { SELECT * FROM t4 } db2
+ } {1 2 3 4 5 6}
+}
# Try an UPDATE/INSERT/DELETE on a shared vtab as the first statement after a
# schema is loaded.
« no previous file with comments | « third_party/sqlite/src/test/vtab_alter.test ('k') | third_party/sqlite/src/test/wal.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698