Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: third_party/sqlite/src/ext/rtree/rtreeD.test

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # 2014 March 11 1 # 2014 March 11
2 # 2 #
3 # The author disclaims copyright to this source code. In place of 3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing: 4 # a legal notice, here is a blessing:
5 # 5 #
6 # May you do good and not evil. 6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others. 7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give. 8 # May you share freely, never taking more than you give.
9 # 9 #
10 #*********************************************************************** 10 #***********************************************************************
11 # 11 #
12 # Miscellaneous tests for errors in the rtree constructor. 12 # Miscellaneous tests for errors in the rtree constructor.
13 # 13 #
14 14
15 15
16 if {![info exists testdir]} { 16 if {![info exists testdir]} {
17 set testdir [file join [file dirname [info script]] .. .. test] 17 set testdir [file join [file dirname [info script]] .. .. test]
18 } 18 }
19 source [file join [file dirname [info script]] rtree_util.tcl] 19 source [file join [file dirname [info script]] rtree_util.tcl]
20 source $testdir/tester.tcl 20 source $testdir/tester.tcl
21 source $testdir/lock_common.tcl 21 source $testdir/lock_common.tcl
22 ifcapable !rtree { 22 ifcapable !rtree||!builtin_test {
23 finish_test 23 finish_test
24 return 24 return
25 } 25 }
26 set testprefix rtreeD 26 set testprefix rtreeD
27 27
28 #------------------------------------------------------------------------- 28 #-------------------------------------------------------------------------
29 # Test that if an SQLITE_BUSY is encountered within the vtable 29 # Test that if an SQLITE_BUSY is encountered within the vtable
30 # constructor, a relevant error message is returned. 30 # constructor, a relevant error message is returned.
31 # 31 #
32 do_multiclient_test tn { 32 do_multiclient_test tn {
(...skipping 15 matching lines...) Expand all
48 } {} 48 } {}
49 49
50 do_test 1.$tn.4 { 50 do_test 1.$tn.4 {
51 list [catch { sql2 { SELECT * FROM rt } } msg] $msg 51 list [catch { sql2 { SELECT * FROM rt } } msg] $msg
52 } {1 {database is locked}} 52 } {1 {database is locked}}
53 } 53 }
54 54
55 finish_test 55 finish_test
56 56
57 57
OLDNEW
« no previous file with comments | « third_party/sqlite/src/ext/rtree/rtreeC.test ('k') | third_party/sqlite/src/ext/rtree/rtreeG.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698