OLD | NEW |
1 # 2015-08-26 | 1 # 2015-08-26 |
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 expr {$l1==[lsort -command bigintcompare $l1]} | 53 expr {$l1==[lsort -command bigintcompare $l1]} |
54 } {1} | 54 } {1} |
55 | 55 |
56 do_test 1.2 { | 56 do_test 1.2 { |
57 set l1 {} | 57 set l1 {} |
58 db eval {SELECT random() AS y FROM t1 ORDER BY +random();} {lappend l1 $y} | 58 db eval {SELECT random() AS y FROM t1 ORDER BY +random();} {lappend l1 $y} |
59 expr {$l1==[lsort -command bigintcompare $l1]} | 59 expr {$l1==[lsort -command bigintcompare $l1]} |
60 } {0} | 60 } {0} |
61 | 61 |
62 finish_test | 62 finish_test |
OLD | NEW |