SQLite
Check-in [d87e5acf2802d2887e20f79a8bd4990b2cd47b91]
Not logged in
Overview
SHA1 Hash:d87e5acf2802d2887e20f79a8bd4990b2cd47b91
Date: 2013-02-25 13:44:56
User: dan
Comment:Fix an error in test script index5.test.
Tags And Properties
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/index5.test

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
  }
} {1024}

db close
testvfs tvfs
tvfs filter xWrite
tvfs script write_cb
proc write_cb {xCall file handle iOfst} {
  if {[file tail $file]=="test.db"} {
    lappend ::write_list [expr $iOfst/1024]
  }
  puts "$xCall $file $args"
}

do_test 1.2 {
  sqlite3 db test.db -vfs tvfs
  set ::write_list [list]
  execsql { CREATE INDEX i1 ON t1(x) }
} {}







|



<







32
33
34
35
36
37
38
39
40
41
42

43
44
45
46
47
48
49
  }
} {1024}

db close
testvfs tvfs
tvfs filter xWrite
tvfs script write_cb
proc write_cb {xCall file handle iOfst args} {
  if {[file tail $file]=="test.db"} {
    lappend ::write_list [expr $iOfst/1024]
  }

}

do_test 1.2 {
  sqlite3 db test.db -vfs tvfs
  set ::write_list [list]
  execsql { CREATE INDEX i1 ON t1(x) }
} {}