OLD | NEW |
1 # 2008 December 23 | 1 # 2008 December 23 |
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 set ii [expr $i*$i] | 48 set ii [expr $i*$i] |
49 set iii [expr $i*$i] | 49 set iii [expr $i*$i] |
50 db eval { INSERT INTO t1 VALUES($i, $ii, $iii) } | 50 db eval { INSERT INTO t1 VALUES($i, $ii, $iii) } |
51 } | 51 } |
52 db eval COMMIT | 52 db eval COMMIT |
53 } -sqlbody { | 53 } -sqlbody { |
54 SELECT count(*) FROM t1 WHERE a BETWEEN 5 AND 995 OR b BETWEEN 5 AND 900000; | 54 SELECT count(*) FROM t1 WHERE a BETWEEN 5 AND 995 OR b BETWEEN 5 AND 900000; |
55 } | 55 } |
56 | 56 |
57 finish_test | 57 finish_test |
OLD | NEW |