aboutsummaryrefslogtreecommitdiff
path: root/test/vtab5.test
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2007-06-27 15:53:34 +0000
committerdanielk1977 <danielk1977@noemail.net>2007-06-27 15:53:34 +0000
commit182c4ba9796639dde440a5fe0a96c0b2d0bd9bf2 (patch)
treea87cbca9204cffc698f596c4be42e1ca34240a12 /test/vtab5.test
parentc3d56d15099017de2e2831779099ad1190919ba1 (diff)
downloadsqlite-182c4ba9796639dde440a5fe0a96c0b2d0bd9bf2.tar.gz
sqlite-182c4ba9796639dde440a5fe0a96c0b2d0bd9bf2.zip
Allow ALTER TABLE on virtual tables. (CVS 4142)
FossilOrigin-Name: 37d1f9f37ea9d2e8a4dbe0ec67c0d6eb7fcc5f3f
Diffstat (limited to 'test/vtab5.test')
-rw-r--r--test/vtab5.test15
1 files changed, 8 insertions, 7 deletions
diff --git a/test/vtab5.test b/test/vtab5.test
index 36dad9bb5..4fd678c05 100644
--- a/test/vtab5.test
+++ b/test/vtab5.test
@@ -10,7 +10,7 @@
#***********************************************************************
# This file implements regression tests for SQLite library.
#
-# $Id: vtab5.test,v 1.6 2006/06/21 12:36:26 danielk1977 Exp $
+# $Id: vtab5.test,v 1.7 2007/06/27 15:53:35 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -140,13 +140,14 @@ do_test vtab5.4.2 {
}
} {1 {virtual tables may not be altered}}
-# Test that it is impossible to add a column to a virtual table.
+# Test that it is impossible to rename a virtual table.
+# UPDATE: It is now possible.
#
-do_test vtab5.4.3 {
- catchsql {
- ALTER TABLE echo_strings RENAME TO echo_strings2;
- }
-} {1 {virtual tables may not be altered}}
+# do_test vtab5.4.3 {
+# catchsql {
+# ALTER TABLE echo_strings RENAME TO echo_strings2;
+# }
+# } {1 {virtual tables may not be altered}}
finish_test