mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Modify some evidence tags to match updated gifs.
FossilOrigin-Name: f44de500be5130d5ad800759acb76377eaa92367
This commit is contained in:
42
test/e_reindex.test
Normal file
42
test/e_reindex.test
Normal file
@ -0,0 +1,42 @@
|
||||
# 2010 September 24
|
||||
#
|
||||
# The author disclaims copyright to this source code. In place of
|
||||
# a legal notice, here is a blessing:
|
||||
#
|
||||
# May you do good and not evil.
|
||||
# May you find forgiveness for yourself and forgive others.
|
||||
# May you share freely, never taking more than you give.
|
||||
#
|
||||
#***********************************************************************
|
||||
#
|
||||
# This file implements tests to verify that the "testable statements" in
|
||||
# the lang_reindex.html document are correct.
|
||||
#
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
|
||||
proc do_reindex_tests {args} {
|
||||
uplevel do_select_tests $args
|
||||
}
|
||||
|
||||
do_execsql_test e_reindex-0.0 {
|
||||
CREATE TABLE t1(a, b);
|
||||
CREATE INDEX i1 ON t1(a, b);
|
||||
CREATE INDEX i2 ON t1(b, a);
|
||||
} {}
|
||||
|
||||
# EVIDENCE-OF: R-57021-15304 -- syntax diagram reindex-stmt
|
||||
#
|
||||
do_reindex_tests e_reindex-0.1 {
|
||||
1 "REINDEX" {}
|
||||
2 "REINDEX nocase" {}
|
||||
3 "REINDEX binary" {}
|
||||
4 "REINDEX t1" {}
|
||||
5 "REINDEX main.t1" {}
|
||||
4 "REINDEX i1" {}
|
||||
5 "REINDEX main.i1" {}
|
||||
}
|
||||
|
||||
|
||||
finish_test
|
Reference in New Issue
Block a user