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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 instead | 58 instead |
59 key | 59 key |
60 like | 60 like |
61 match | 61 match |
62 of | 62 of |
63 offset | 63 offset |
64 plan | 64 plan |
65 pragma | 65 pragma |
66 query | 66 query |
67 raise | 67 raise |
| 68 recursive |
68 regexp | 69 regexp |
69 reindex | 70 reindex |
70 release | 71 release |
71 rename | 72 rename |
72 replace | 73 replace |
73 restrict | 74 restrict |
74 rollback | 75 rollback |
75 row | 76 row |
76 savepoint | 77 savepoint |
77 temp | 78 temp |
78 temporary | 79 temporary |
79 trigger | 80 trigger |
80 vacuum | 81 vacuum |
81 view | 82 view |
82 virtual | 83 virtual |
| 84 with |
| 85 without |
83 }; | 86 }; |
84 set exprkw { | 87 set exprkw { |
85 cast | 88 cast |
86 current_date | 89 current_date |
87 current_time | 90 current_time |
88 current_timestamp | 91 current_timestamp |
89 raise | 92 raise |
90 } | 93 } |
91 foreach kw $kwlist { | 94 foreach kw $kwlist { |
92 do_test keyword1-$kw.1 { | 95 do_test keyword1-$kw.1 { |
(...skipping 16 matching lines...) Expand all Loading... |
109 db eval "CREATE INDEX \"$kw\" ON t1(a)" | 112 db eval "CREATE INDEX \"$kw\" ON t1(a)" |
110 } else { | 113 } else { |
111 db eval "DROP TABLE $kw" | 114 db eval "DROP TABLE $kw" |
112 db eval "CREATE INDEX $kw ON t1(a)" | 115 db eval "CREATE INDEX $kw ON t1(a)" |
113 } | 116 } |
114 db eval "SELECT b FROM t1 INDEXED BY $kw WHERE a=2" | 117 db eval "SELECT b FROM t1 INDEXED BY $kw WHERE a=2" |
115 } {two} | 118 } {two} |
116 } | 119 } |
117 | 120 |
118 finish_test | 121 finish_test |
OLD | NEW |