OLD | NEW |
1 # 2007 June 26 | 1 # 2007 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 # | 94 # |
95 do_test vtab_alter-3.1 { | 95 do_test vtab_alter-3.1 { |
96 execsql { CREATE TABLE y_base(a, b, c) } | 96 execsql { CREATE TABLE y_base(a, b, c) } |
97 catchsql { ALTER TABLE x RENAME TO y } | 97 catchsql { ALTER TABLE x RENAME TO y } |
98 } {1 {SQL logic error or missing database}} | 98 } {1 {SQL logic error or missing database}} |
99 do_test vtab_alter-3.2 { | 99 do_test vtab_alter-3.2 { |
100 execsql { SELECT * FROM x } | 100 execsql { SELECT * FROM x } |
101 } {1 2 3} | 101 } {1 2 3} |
102 | 102 |
103 finish_test | 103 finish_test |
OLD | NEW |