OLD | NEW |
1 # 2005 February 15 | 1 # 2005 February 15 |
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 #*********************************************************************** |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 set res2 "" | 222 set res2 "" |
223 db eval {SELECT a, b FROM t1 WHERE a<=10} { | 223 db eval {SELECT a, b FROM t1 WHERE a<=10} { |
224 if {$a==6} { set res [catchsql VACUUM] } | 224 if {$a==6} { set res [catchsql VACUUM] } |
225 lappend res2 $a | 225 lappend res2 $a |
226 } | 226 } |
227 lappend res2 $res | 227 lappend res2 $res |
228 } {1 2 3 4 5 6 7 8 9 10 {1 {cannot VACUUM - SQL statements in progress}}} | 228 } {1 2 3 4 5 6 7 8 9 10 {1 {cannot VACUUM - SQL statements in progress}}} |
229 | 229 |
230 | 230 |
231 finish_test | 231 finish_test |
OLD | NEW |