OLD | NEW |
1 # 2009 January 29 | 1 # 2009 January 29 |
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 db eval "CREATE INDEX \"$kw\" ON t1(a)" | 109 db eval "CREATE INDEX \"$kw\" ON t1(a)" |
110 } else { | 110 } else { |
111 db eval "DROP TABLE $kw" | 111 db eval "DROP TABLE $kw" |
112 db eval "CREATE INDEX $kw ON t1(a)" | 112 db eval "CREATE INDEX $kw ON t1(a)" |
113 } | 113 } |
114 db eval "SELECT b FROM t1 INDEXED BY $kw WHERE a=2" | 114 db eval "SELECT b FROM t1 INDEXED BY $kw WHERE a=2" |
115 } {two} | 115 } {two} |
116 } | 116 } |
117 | 117 |
118 finish_test | 118 finish_test |
OLD | NEW |