| OLD | NEW |
| 1 # 2008 June 26 | 1 # 2008 June 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 # Even if we move things around, still does nothing. | 337 # Even if we move things around, still does nothing. |
| 338 do_test fts2q-5.1 { | 338 do_test fts2q-5.1 { |
| 339 execsql { | 339 execsql { |
| 340 UPDATE t1_segdir SET level = 2 WHERE level = 1 AND idx = 0; | 340 UPDATE t1_segdir SET level = 2 WHERE level = 1 AND idx = 0; |
| 341 SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; | 341 SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; |
| 342 SELECT level, idx FROM t1_segdir ORDER BY level, idx; | 342 SELECT level, idx FROM t1_segdir ORDER BY level, idx; |
| 343 } | 343 } |
| 344 } {{Index already optimal} 2 0} | 344 } {{Index already optimal} 2 0} |
| 345 | 345 |
| 346 finish_test | 346 finish_test |
| OLD | NEW |