1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Improvements to the way fts3 reads the full-text index.

FossilOrigin-Name: 45c051e78651d8204c17cecdda2bde705698881f
This commit is contained in:
dan
2009-11-17 12:52:10 +00:00
parent 948a5f88ea
commit f13b704ee6
6 changed files with 237 additions and 164 deletions

View File

@ -181,17 +181,24 @@ do_write_test fts3_malloc-1.6 sqlite_master {
}
# Test the xConnect/xDisconnect methods:
db eval { ATTACH 'test2.db' AS aux }
do_write_test fts3_malloc-1.6 aux.sqlite_master {
CREATE VIRTUAL TABLE aux.ft7 USING fts3(a, b, c);
}
do_write_test fts3_malloc-1.6 aux.sqlite_master {
CREATE VIRTUAL TABLE aux.ft7 USING fts3(a, b, c);
}
#db eval { ATTACH 'test2.db' AS aux }
#do_write_test fts3_malloc-1.6 aux.sqlite_master {
# CREATE VIRTUAL TABLE aux.ft7 USING fts3(a, b, c);
#}
#do_write_test fts3_malloc-1.6 aux.sqlite_master {
# CREATE VIRTUAL TABLE aux.ft7 USING fts3(a, b, c);
#}
do_test fts3_malloc-2.0 {
execsql {
DROP TABLE ft1;
DROP TABLE ft2;
DROP TABLE ft3;
DROP TABLE ft4;
DROP TABLE ft6;
}
execsql { CREATE VIRTUAL TABLE ft USING fts3(a, b) }
for {set ii 1} {$ii < 32} {incr ii} {
set a [list]