| OLD | NEW |
| 1 # 2011 Jan 21 | 1 # 2011 Jan 21 |
| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 "INSERT INTO x1(x1) VALUES('optimize');" | 143 "INSERT INTO x1(x1) VALUES('optimize');" |
| 144 "-- SELECT idx, start_block, leaves_end_block, end_block, root FROM 'main'.'
x1_segdir' ORDER BY level DESC, idx ASC" | 144 "-- SELECT idx, start_block, leaves_end_block, end_block, root FROM 'main'.'
x1_segdir' ORDER BY level DESC, idx ASC" |
| 145 "-- SELECT count(*), max(level) FROM 'main'.'x1_segdir'" | 145 "-- SELECT count(*), max(level) FROM 'main'.'x1_segdir'" |
| 146 "-- SELECT coalesce((SELECT max(blockid) FROM 'main'.'x1_segments') + 1, 1)" | 146 "-- SELECT coalesce((SELECT max(blockid) FROM 'main'.'x1_segments') + 1, 1)" |
| 147 "-- DELETE FROM 'main'.'x1_segdir'" | 147 "-- DELETE FROM 'main'.'x1_segdir'" |
| 148 "-- INSERT INTO 'main'.'x1_segdir' VALUES(?,?,?,?,?,?)" | 148 "-- INSERT INTO 'main'.'x1_segdir' VALUES(?,?,?,?,?,?)" |
| 149 } | 149 } |
| 150 } | 150 } |
| 151 | 151 |
| 152 finish_test | 152 finish_test |
| OLD | NEW |