mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Add test for creating indices with quoted names. Ticket #695. (CVS 1831)
FossilOrigin-Name: 7e72c5b7b5e355e41c30d4ef47268e11f4c97425
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this file is testing the CREATE INDEX statement.
|
||||
#
|
||||
# $Id: index.test,v 1.30 2004/06/19 00:16:31 drh Exp $
|
||||
# $Id: index.test,v 1.31 2004/07/20 00:52:44 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -650,5 +650,19 @@ do_test index-19.6 {
|
||||
}
|
||||
} {1 {conflicting ON CONFLICT clauses specified}}
|
||||
|
||||
finish_test
|
||||
# Drop index with a quoted name. Ticket #695.
|
||||
#
|
||||
do_test index-20.1 {
|
||||
execsql {
|
||||
CREATE INDEX "t6i2" ON t6(c);
|
||||
DROP INDEX "t6i2";
|
||||
}
|
||||
} {}
|
||||
do_test index-20.2 {
|
||||
execsql {
|
||||
DROP INDEX "t6i1";
|
||||
}
|
||||
} {}
|
||||
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user