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

Unified Diff: third_party/sqlite/src/test/vtab5.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/vtab1.test ('k') | third_party/sqlite/src/test/vtabA.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/vtab5.test
diff --git a/third_party/sqlite/src/test/vtab5.test b/third_party/sqlite/src/test/vtab5.test
index 7fd7e0e129ff69aa23a32e561f0f1103d98e04f4..bb84a5ceec6c6237db80ac6e6b04762dd3089790 100644
--- a/third_party/sqlite/src/test/vtab5.test
+++ b/third_party/sqlite/src/test/vtab5.test
@@ -134,11 +134,13 @@ do_test vtab5.4.1 {
# Test that it is impossible to add a column to a virtual table.
#
-do_test vtab5.4.2 {
- catchsql {
- ALTER TABLE echo_strings ADD COLUMN col2;
- }
-} {1 {virtual tables may not be altered}}
+ifcapable altertable {
+ do_test vtab5.4.2 {
+ catchsql {
+ ALTER TABLE echo_strings ADD COLUMN col2;
+ }
+ } {1 {virtual tables may not be altered}}
+}
# Test that it is impossible to rename a virtual table.
# UPDATE: It is now possible.
« no previous file with comments | « third_party/sqlite/src/test/vtab1.test ('k') | third_party/sqlite/src/test/vtabA.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698