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. |