1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Oops - a random fts2 test I had abandoned slipped into the fts3 batch. (CVS 4252)

FossilOrigin-Name: 709f2aa18a4802a7ca6638c00b2b99440b4a3191
This commit is contained in:
shess
2007-08-20 17:52:59 +00:00
parent db00b6aebb
commit 7e3c77df0d
3 changed files with 6 additions and 51 deletions

View File

@ -1,5 +1,5 @@
C Replicate\sthe\sfts2*.test\sfiles\sas\sfts3a*.test,\sand\sconvert\sfts2\sto\nfts3\sin\sthe\stext\sof\sthe\sfiles.\s(CVS\s4251)
D 2007-08-20T17:38:42
C Oops\s-\sa\srandom\sfts2\stest\sI\shad\sabandoned\sslipped\sinto\sthe\sfts3\sbatch.\s(CVS\s4252)
D 2007-08-20T17:53:00
F Makefile.in 0c0e53720f658c7a551046442dd7afba0b72bfbe
F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@ -293,7 +293,6 @@ F test/fts3al.test 00b5cfe4d463e98e15ea1e8123bec2a8574586f4
F test/fts3am.test 218aa6ba0dfc50c7c16b2022aac5c6be593d08d8
F test/fts3an.test 2da4df52fe8ea8389f6fa7a01e4c1a0f091118d6
F test/fts3ao.test 0aa29dd4fc1c8d46b1f7cfe5926f7ac97551bea9
F test/fts3ap.test 0cf3cc99155f68d5d8c9bdbe7571b2bffe4da27e
F test/fts3atoken.test 25c2070e1e8755d414bf9c8200427b277a9f99fa
F test/func.test 605989453d1b42cec1d05c17aa232dc98e3e04e6
F test/fuzz.test 62fc19dd36a427777fd671b569df07166548628a
@ -558,7 +557,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
P 95ef963232ab1f15a7c42229819d33d3571a753e
R d1d5263c19598614a8f875927a21fd65
P 24739f148e7687532fd04794a041aade8626c630
R 91022a585940fe2f4f8ce2cc48394d34
U shess
Z 1aa55194173606959745629a53728042
Z 50354b12eb6453839bc699aa3eacaa47

View File

@ -1 +1 @@
24739f148e7687532fd04794a041aade8626c630
709f2aa18a4802a7ca6638c00b2b99440b4a3191

View File

@ -1,44 +0,0 @@
# 2007 August 9
#
# The author disclaims copyright to this source code.
#
#*************************************************************************
# This file implements regression tests for SQLite library. The
# DELETE handling required the current data to not contain nulls.
# This verifies that we don't add that assumption back in.
#
# $Id: fts3ap.test,v 1.1 2007/08/20 17:38:42 shess Exp $
#
set testdir [file dirname $argv0]
source $testdir/tester.tcl
# If SQLITE_ENABLE_FTS3 is defined, omit this file.
ifcapable !fts3 {
finish_test
return
}
db eval {
CREATE VIRTUAL TABLE t1 USING fts3(col_a, col_b);
INSERT INTO t1(rowid, col_a, col_b) VALUES(1, 'testing', 'testing');
INSERT INTO t1(rowid, col_a, col_b) VALUES(2, 'only a', null);
INSERT INTO t1(rowid, col_a, col_b) VALUES(3, null, 'only b');
INSERT INTO t1(rowid, col_a, col_b) VALUES(4, null, null);
INSERT INTO t1(rowid, col_a, col_b) VALUES(5, 'testing', 'testing');
INSERT INTO t1(rowid, col_a, col_b) VALUES(6, 'only a', null);
INSERT INTO t1(rowid, col_a, col_b) VALUES(7, null, 'only b');
INSERT INTO t1(rowid, col_a, col_b) VALUES(8, null, null);
}
do_test fts3an-1.1 {
execsql "-- REPLACE INTO t1 (rowid, col_a, col_b) VALUES (1, 'text', 'text')"
} {}
do_test fts3an-1.2 {
execsql "-- INSERT OR REPLACE INTO t1 (rowid, col_a, col_b) VALUES (1, 'text', 'text')"
} {}
finish_test