/ Check-in [50163034]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a typo in fts3corrupt4.test causing it to fail if the build does not support fts3.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | rollback-abort
Files: files | file ages | folders
SHA3-256: 5016303421a678a185d619bda556411e6bd0830e5dab9318a35682085b0973f7
User & Date: dan 2019-01-26 20:35:31
Context
2019-01-26
21:05
Fix a broken assert() in fts3. Also some test script issues causing failures with builds that do not support fts3. check-in: d59567dd user: dan tags: trunk
20:41
Fix another typo in fts3_common.tcl causing test failures in builds that do not support fts3. Closed-Leaf check-in: 773b5986 user: dan tags: rollback-abort
20:35
Fix a typo in fts3corrupt4.test causing it to fail if the build does not support fts3. check-in: 50163034 user: dan tags: rollback-abort
19:09
Fix a broken assert() in fts3. check-in: b8dd2d67 user: dan tags: rollback-abort
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/fts3corrupt4.test.

15
16
17
18
19
20
21
22
23
24
25
26
27
28


29
30
31
32
33
34
35
#

set testdir [file dirname $argv0]
source $testdir/tester.tcl
source $testdir/fts3_common.tcl
set testprefix fts3corrupt4

sqlite3_fts3_may_be_corrupt 1

# If SQLITE_ENABLE_FTS3 is defined, omit this file.
ifcapable !fts3 {
  finish_test
  return
}



do_execsql_test 1.0 {
  BEGIN;
    CREATE VIRTUAL TABLE ft USING fts3;
    INSERT INTO ft VALUES('aback');
    INSERT INTO ft VALUES('abaft');
    INSERT INTO ft VALUES('abandon');







<
<





>
>







15
16
17
18
19
20
21


22
23
24
25
26
27
28
29
30
31
32
33
34
35
#

set testdir [file dirname $argv0]
source $testdir/tester.tcl
source $testdir/fts3_common.tcl
set testprefix fts3corrupt4



# If SQLITE_ENABLE_FTS3 is defined, omit this file.
ifcapable !fts3 {
  finish_test
  return
}

sqlite3_fts3_may_be_corrupt 1

do_execsql_test 1.0 {
  BEGIN;
    CREATE VIRTUAL TABLE ft USING fts3;
    INSERT INTO ft VALUES('aback');
    INSERT INTO ft VALUES('abaft');
    INSERT INTO ft VALUES('abandon');