| OLD | NEW |
| 1 # 2015-01-05 | 1 # 2015-01-05 |
| 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 19 matching lines...) Expand all Loading... |
| 30 append sql "($i)," | 30 append sql "($i)," |
| 31 } | 31 } |
| 32 append sql "($i);" | 32 append sql "($i);" |
| 33 set microsec [lindex [time {db eval $sql}] 0] | 33 set microsec [lindex [time {db eval $sql}] 0] |
| 34 db eval { | 34 db eval { |
| 35 SELECT count(x), sum(x), avg(x), $microsec<10000000 FROM t1; | 35 SELECT count(x), sum(x), avg(x), $microsec<10000000 FROM t1; |
| 36 } | 36 } |
| 37 } {100000 5000050000 50000.5 1} | 37 } {100000 5000050000 50000.5 1} |
| 38 | 38 |
| 39 finish_test | 39 finish_test |
| OLD | NEW |