/ Check-in [f9047b2e]
Login

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

Overview
Comment:Clear a conflicting TCL variable in the fts3rnd.test test script.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:f9047b2e88a26ed52a54c527cca2a8c1123805d1
User & Date: drh 2009-12-04 01:44:43
Context
2009-12-04
05:41
Do not run fts3rnd.test as part of quick.test. check-in: 3bb64842 user: dan tags: trunk
01:44
Clear a conflicting TCL variable in the fts3rnd.test test script. check-in: f9047b2e user: drh tags: trunk
2009-12-03
21:26
Fix an assert() in btree.c that might have fired on a corrupt database file. check-in: 5ab2b3e3 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/fts3rnd.test.

45
46
47
48
49
50
51

52
53
54
55
56
57
58
...
141
142
143
144
145
146
147
148
  return $doc
}



# Primitives to update the table.
#

proc insert_row {rowid} {
  set a [generate_doc [expr int((rand()*100))]]
  set b [generate_doc [expr int((rand()*100))]]
  set c [generate_doc [expr int((rand()*100))]]
  execsql { INSERT INTO t1(docid, a, b, c) VALUES($rowid, $a, $b, $c) }
  set ::t1($rowid) [list $a $b $c]
}
................................................................................
        execsql { SELECT docid FROM t1 WHERE t1 MATCH $match }
      } [simple_term $term]
    }
  }
}

finish_test








>







 







<
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
...
142
143
144
145
146
147
148

  return $doc
}



# Primitives to update the table.
#
unset -nocomplain t1
proc insert_row {rowid} {
  set a [generate_doc [expr int((rand()*100))]]
  set b [generate_doc [expr int((rand()*100))]]
  set c [generate_doc [expr int((rand()*100))]]
  execsql { INSERT INTO t1(docid, a, b, c) VALUES($rowid, $a, $b, $c) }
  set ::t1($rowid) [list $a $b $c]
}
................................................................................
        execsql { SELECT docid FROM t1 WHERE t1 MATCH $match }
      } [simple_term $term]
    }
  }
}

finish_test