3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing:
6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give.
10 #***********************************************************************
14 source [file join [file dirname [info script]] rbu_common.tcl]
15 ifcapable !rbu { finish_test ; return }
16 if_no_rbu_support { finish_test ; return }
17 set ::testprefix rbubusy
25 CREATE TABLE t1(a PRIMARY KEY, b, c);
26 INSERT INTO t1 VALUES(1000, 2000, 3000);
30 CREATE TABLE data_t1(a, b, c, rbu_control);
31 INSERT INTO data_t1 VALUES(1, 2, 3, 0);
32 INSERT INTO data_t1 VALUES(4, 5, 6, 0);
33 INSERT INTO data_t1 VALUES(7, 8, 9, 0);
51 sqlite3rbu rbu test.db rbu.db
58 if {$rc!="SQLITE_OK"} break
74 sqlite3rbu rbu test.db rbu.db
77 if {$rc!="SQLITE_OK"} break