state_machine 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/test/sequel.log CHANGED
@@ -3833,3 +3833,2700 @@ DROP TABLE `foo`
3833
3833
  CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3834
3834
  DROP TABLE `foo`
3835
3835
  CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3836
+ DROP TABLE `foo`
3837
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3838
+ PRAGMA table_info('foo')
3839
+ DROP TABLE `foo`
3840
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3841
+ DROP TABLE `foo`
3842
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3843
+ DROP TABLE `foo`
3844
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3845
+ DROP TABLE `foo`
3846
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3847
+ DROP TABLE `foo`
3848
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3849
+ DROP TABLE `foo`
3850
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3851
+ DROP TABLE `foo`
3852
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3853
+ DROP TABLE `foo`
3854
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3855
+ INSERT INTO `foo` (`state`) VALUES (NULL)
3856
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3857
+ SELECT COUNT(*) FROM `foo` LIMIT 1
3858
+ DROP TABLE `foo`
3859
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3860
+ INSERT INTO `foo` (`state`) VALUES ('off')
3861
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3862
+ INSERT INTO `foo` (`state`) VALUES ('on')
3863
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
3864
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
3865
+ DROP TABLE `foo`
3866
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3867
+ INSERT INTO `foo` (`state`) VALUES ('off')
3868
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3869
+ INSERT INTO `foo` (`state`) VALUES ('on')
3870
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
3871
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
3872
+ DROP TABLE `foo`
3873
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3874
+ INSERT INTO `foo` (`state`) VALUES ('off')
3875
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3876
+ INSERT INTO `foo` (`state`) VALUES ('on')
3877
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
3878
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
3879
+ DROP TABLE `foo`
3880
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3881
+ INSERT INTO `foo` (`state`) VALUES ('off')
3882
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3883
+ INSERT INTO `foo` (`state`) VALUES ('on')
3884
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
3885
+ INSERT INTO `foo` (`state`) VALUES ('error')
3886
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
3887
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
3888
+ DROP TABLE `foo`
3889
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3890
+ INSERT INTO `foo` (`state`) VALUES (NULL)
3891
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3892
+ SELECT COUNT(*) FROM `foo` LIMIT 1
3893
+ DROP TABLE `foo`
3894
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3895
+ INSERT INTO `foo` (`state`) VALUES ('on')
3896
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3897
+ DROP TABLE `foo`
3898
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3899
+ INSERT INTO `foo` (`state`) VALUES ('on')
3900
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3901
+ DROP TABLE `foo`
3902
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3903
+ INSERT INTO `foo` (`state`) VALUES ('on')
3904
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3905
+ DROP TABLE `foo`
3906
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3907
+ INSERT INTO `foo` (`state`) VALUES ('on')
3908
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3909
+ DROP TABLE `foo`
3910
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3911
+ INSERT INTO `foo` (`state`) VALUES ('on')
3912
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3913
+ DROP TABLE `foo`
3914
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3915
+ INSERT INTO `foo` (`state`) VALUES ('on')
3916
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3917
+ DROP TABLE `foo`
3918
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3919
+ INSERT INTO `foo` (`state`) VALUES ('on')
3920
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3921
+ DROP TABLE `foo`
3922
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3923
+ DROP TABLE `foo`
3924
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3925
+ DROP TABLE `foo`
3926
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3927
+ DROP TABLE `foo`
3928
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3929
+ DROP TABLE `foo`
3930
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3931
+ PRAGMA table_info('foo')
3932
+ DROP TABLE `foo`
3933
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3934
+ DROP TABLE `foo`
3935
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3936
+ DROP TABLE `foo`
3937
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3938
+ DROP TABLE `foo`
3939
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3940
+ DROP TABLE `foo`
3941
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3942
+ DROP TABLE `foo`
3943
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3944
+ DROP TABLE `foo`
3945
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3946
+ DROP TABLE `foo`
3947
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3948
+ INSERT INTO `foo` (`state`) VALUES (NULL)
3949
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3950
+ SELECT COUNT(*) FROM `foo` LIMIT 1
3951
+ DROP TABLE `foo`
3952
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3953
+ INSERT INTO `foo` (`state`) VALUES ('off')
3954
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3955
+ INSERT INTO `foo` (`state`) VALUES ('on')
3956
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
3957
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
3958
+ DROP TABLE `foo`
3959
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3960
+ INSERT INTO `foo` (`state`) VALUES ('off')
3961
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3962
+ INSERT INTO `foo` (`state`) VALUES ('on')
3963
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
3964
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
3965
+ DROP TABLE `foo`
3966
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3967
+ INSERT INTO `foo` (`state`) VALUES ('off')
3968
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3969
+ INSERT INTO `foo` (`state`) VALUES ('on')
3970
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
3971
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
3972
+ DROP TABLE `foo`
3973
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3974
+ INSERT INTO `foo` (`state`) VALUES ('off')
3975
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3976
+ INSERT INTO `foo` (`state`) VALUES ('on')
3977
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
3978
+ INSERT INTO `foo` (`state`) VALUES ('error')
3979
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
3980
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
3981
+ DROP TABLE `foo`
3982
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3983
+ INSERT INTO `foo` (`state`) VALUES (NULL)
3984
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3985
+ SELECT COUNT(*) FROM `foo` LIMIT 1
3986
+ DROP TABLE `foo`
3987
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3988
+ INSERT INTO `foo` (`state`) VALUES ('on')
3989
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3990
+ DROP TABLE `foo`
3991
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3992
+ INSERT INTO `foo` (`state`) VALUES ('on')
3993
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3994
+ DROP TABLE `foo`
3995
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
3996
+ INSERT INTO `foo` (`state`) VALUES ('on')
3997
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
3998
+ DROP TABLE `foo`
3999
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4000
+ INSERT INTO `foo` (`state`) VALUES ('on')
4001
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4002
+ DROP TABLE `foo`
4003
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4004
+ INSERT INTO `foo` (`state`) VALUES ('on')
4005
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4006
+ DROP TABLE `foo`
4007
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4008
+ INSERT INTO `foo` (`state`) VALUES ('on')
4009
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4010
+ DROP TABLE `foo`
4011
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4012
+ INSERT INTO `foo` (`state`) VALUES ('on')
4013
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4014
+ DROP TABLE `foo`
4015
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4016
+ DROP TABLE `foo`
4017
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4018
+ DROP TABLE `foo`
4019
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4020
+ DROP TABLE `foo`
4021
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4022
+ DROP TABLE `foo`
4023
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4024
+ PRAGMA table_info('foo')
4025
+ DROP TABLE `foo`
4026
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4027
+ DROP TABLE `foo`
4028
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4029
+ DROP TABLE `foo`
4030
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4031
+ DROP TABLE `foo`
4032
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4033
+ DROP TABLE `foo`
4034
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4035
+ DROP TABLE `foo`
4036
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4037
+ DROP TABLE `foo`
4038
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4039
+ DROP TABLE `foo`
4040
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4041
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4042
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4043
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4044
+ DROP TABLE `foo`
4045
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4046
+ INSERT INTO `foo` (`state`) VALUES ('off')
4047
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4048
+ INSERT INTO `foo` (`state`) VALUES ('on')
4049
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4050
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
4051
+ DROP TABLE `foo`
4052
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4053
+ INSERT INTO `foo` (`state`) VALUES ('off')
4054
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4055
+ INSERT INTO `foo` (`state`) VALUES ('on')
4056
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4057
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
4058
+ DROP TABLE `foo`
4059
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4060
+ INSERT INTO `foo` (`state`) VALUES ('off')
4061
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4062
+ INSERT INTO `foo` (`state`) VALUES ('on')
4063
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4064
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
4065
+ DROP TABLE `foo`
4066
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4067
+ INSERT INTO `foo` (`state`) VALUES ('off')
4068
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4069
+ INSERT INTO `foo` (`state`) VALUES ('on')
4070
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4071
+ INSERT INTO `foo` (`state`) VALUES ('error')
4072
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
4073
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
4074
+ DROP TABLE `foo`
4075
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4076
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4077
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4078
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4079
+ DROP TABLE `foo`
4080
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4081
+ INSERT INTO `foo` (`state`) VALUES ('on')
4082
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4083
+ DROP TABLE `foo`
4084
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4085
+ INSERT INTO `foo` (`state`) VALUES ('on')
4086
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4087
+ DROP TABLE `foo`
4088
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4089
+ INSERT INTO `foo` (`state`) VALUES ('on')
4090
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4091
+ DROP TABLE `foo`
4092
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4093
+ INSERT INTO `foo` (`state`) VALUES ('on')
4094
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4095
+ DROP TABLE `foo`
4096
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4097
+ INSERT INTO `foo` (`state`) VALUES ('on')
4098
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4099
+ DROP TABLE `foo`
4100
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4101
+ INSERT INTO `foo` (`state`) VALUES ('on')
4102
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4103
+ DROP TABLE `foo`
4104
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4105
+ INSERT INTO `foo` (`state`) VALUES ('on')
4106
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4107
+ DROP TABLE `foo`
4108
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4109
+ DROP TABLE `foo`
4110
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4111
+ DROP TABLE `foo`
4112
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4113
+ DROP TABLE `foo`
4114
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4115
+ DROP TABLE `foo`
4116
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4117
+ PRAGMA table_info('foo')
4118
+ DROP TABLE `foo`
4119
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4120
+ DROP TABLE `foo`
4121
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4122
+ DROP TABLE `foo`
4123
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4124
+ DROP TABLE `foo`
4125
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4126
+ DROP TABLE `foo`
4127
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4128
+ DROP TABLE `foo`
4129
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4130
+ DROP TABLE `foo`
4131
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4132
+ DROP TABLE `foo`
4133
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4134
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4135
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4136
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4137
+ DROP TABLE `foo`
4138
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4139
+ INSERT INTO `foo` (`state`) VALUES ('off')
4140
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4141
+ INSERT INTO `foo` (`state`) VALUES ('on')
4142
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4143
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
4144
+ DROP TABLE `foo`
4145
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4146
+ INSERT INTO `foo` (`state`) VALUES ('off')
4147
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4148
+ INSERT INTO `foo` (`state`) VALUES ('on')
4149
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4150
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
4151
+ DROP TABLE `foo`
4152
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4153
+ INSERT INTO `foo` (`state`) VALUES ('off')
4154
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4155
+ INSERT INTO `foo` (`state`) VALUES ('on')
4156
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4157
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
4158
+ DROP TABLE `foo`
4159
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4160
+ INSERT INTO `foo` (`state`) VALUES ('off')
4161
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4162
+ INSERT INTO `foo` (`state`) VALUES ('on')
4163
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4164
+ INSERT INTO `foo` (`state`) VALUES ('error')
4165
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
4166
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
4167
+ DROP TABLE `foo`
4168
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4169
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4170
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4171
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4172
+ DROP TABLE `foo`
4173
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4174
+ INSERT INTO `foo` (`state`) VALUES ('on')
4175
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4176
+ DROP TABLE `foo`
4177
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4178
+ INSERT INTO `foo` (`state`) VALUES ('on')
4179
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4180
+ DROP TABLE `foo`
4181
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4182
+ INSERT INTO `foo` (`state`) VALUES ('on')
4183
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4184
+ DROP TABLE `foo`
4185
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4186
+ INSERT INTO `foo` (`state`) VALUES ('on')
4187
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4188
+ DROP TABLE `foo`
4189
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4190
+ INSERT INTO `foo` (`state`) VALUES ('on')
4191
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4192
+ DROP TABLE `foo`
4193
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4194
+ INSERT INTO `foo` (`state`) VALUES ('on')
4195
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4196
+ DROP TABLE `foo`
4197
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4198
+ INSERT INTO `foo` (`state`) VALUES ('on')
4199
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4200
+ DROP TABLE `foo`
4201
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4202
+ DROP TABLE `foo`
4203
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4204
+ DROP TABLE `foo`
4205
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4206
+ DROP TABLE `foo`
4207
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4208
+ DROP TABLE `foo`
4209
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4210
+ PRAGMA table_info('foo')
4211
+ DROP TABLE `foo`
4212
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4213
+ DROP TABLE `foo`
4214
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4215
+ DROP TABLE `foo`
4216
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4217
+ DROP TABLE `foo`
4218
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4219
+ DROP TABLE `foo`
4220
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4221
+ DROP TABLE `foo`
4222
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4223
+ DROP TABLE `foo`
4224
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4225
+ DROP TABLE `foo`
4226
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4227
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4228
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4229
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4230
+ DROP TABLE `foo`
4231
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4232
+ INSERT INTO `foo` (`state`) VALUES ('off')
4233
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4234
+ INSERT INTO `foo` (`state`) VALUES ('on')
4235
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4236
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
4237
+ DROP TABLE `foo`
4238
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4239
+ INSERT INTO `foo` (`state`) VALUES ('off')
4240
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4241
+ INSERT INTO `foo` (`state`) VALUES ('on')
4242
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4243
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
4244
+ DROP TABLE `foo`
4245
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4246
+ INSERT INTO `foo` (`state`) VALUES ('off')
4247
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4248
+ INSERT INTO `foo` (`state`) VALUES ('on')
4249
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4250
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
4251
+ DROP TABLE `foo`
4252
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4253
+ INSERT INTO `foo` (`state`) VALUES ('off')
4254
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4255
+ INSERT INTO `foo` (`state`) VALUES ('on')
4256
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4257
+ INSERT INTO `foo` (`state`) VALUES ('error')
4258
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
4259
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
4260
+ DROP TABLE `foo`
4261
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4262
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4263
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4264
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4265
+ DROP TABLE `foo`
4266
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4267
+ INSERT INTO `foo` (`state`) VALUES ('on')
4268
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4269
+ DROP TABLE `foo`
4270
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4271
+ INSERT INTO `foo` (`state`) VALUES ('on')
4272
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4273
+ DROP TABLE `foo`
4274
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4275
+ INSERT INTO `foo` (`state`) VALUES ('on')
4276
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4277
+ DROP TABLE `foo`
4278
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4279
+ INSERT INTO `foo` (`state`) VALUES ('on')
4280
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4281
+ DROP TABLE `foo`
4282
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4283
+ INSERT INTO `foo` (`state`) VALUES ('on')
4284
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4285
+ DROP TABLE `foo`
4286
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4287
+ INSERT INTO `foo` (`state`) VALUES ('on')
4288
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4289
+ DROP TABLE `foo`
4290
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4291
+ INSERT INTO `foo` (`state`) VALUES ('on')
4292
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4293
+ DROP TABLE `foo`
4294
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4295
+ DROP TABLE `foo`
4296
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4297
+ DROP TABLE `foo`
4298
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4299
+ DROP TABLE `foo`
4300
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4301
+ DROP TABLE `foo`
4302
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4303
+ PRAGMA table_info('foo')
4304
+ DROP TABLE `foo`
4305
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4306
+ DROP TABLE `foo`
4307
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4308
+ DROP TABLE `foo`
4309
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4310
+ DROP TABLE `foo`
4311
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4312
+ DROP TABLE `foo`
4313
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4314
+ DROP TABLE `foo`
4315
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4316
+ DROP TABLE `foo`
4317
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4318
+ DROP TABLE `foo`
4319
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4320
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4321
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4322
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4323
+ DROP TABLE `foo`
4324
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4325
+ INSERT INTO `foo` (`state`) VALUES ('off')
4326
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4327
+ INSERT INTO `foo` (`state`) VALUES ('on')
4328
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4329
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
4330
+ DROP TABLE `foo`
4331
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4332
+ INSERT INTO `foo` (`state`) VALUES ('off')
4333
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4334
+ INSERT INTO `foo` (`state`) VALUES ('on')
4335
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4336
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
4337
+ DROP TABLE `foo`
4338
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4339
+ INSERT INTO `foo` (`state`) VALUES ('off')
4340
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4341
+ INSERT INTO `foo` (`state`) VALUES ('on')
4342
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4343
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
4344
+ DROP TABLE `foo`
4345
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4346
+ INSERT INTO `foo` (`state`) VALUES ('off')
4347
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4348
+ INSERT INTO `foo` (`state`) VALUES ('on')
4349
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4350
+ INSERT INTO `foo` (`state`) VALUES ('error')
4351
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
4352
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
4353
+ DROP TABLE `foo`
4354
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4355
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4356
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4357
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4358
+ DROP TABLE `foo`
4359
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4360
+ INSERT INTO `foo` (`state`) VALUES ('on')
4361
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4362
+ DROP TABLE `foo`
4363
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4364
+ INSERT INTO `foo` (`state`) VALUES ('on')
4365
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4366
+ DROP TABLE `foo`
4367
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4368
+ INSERT INTO `foo` (`state`) VALUES ('on')
4369
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4370
+ DROP TABLE `foo`
4371
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4372
+ INSERT INTO `foo` (`state`) VALUES ('on')
4373
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4374
+ DROP TABLE `foo`
4375
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4376
+ INSERT INTO `foo` (`state`) VALUES ('on')
4377
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4378
+ DROP TABLE `foo`
4379
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4380
+ INSERT INTO `foo` (`state`) VALUES ('on')
4381
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4382
+ DROP TABLE `foo`
4383
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4384
+ INSERT INTO `foo` (`state`) VALUES ('on')
4385
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4386
+ DROP TABLE `foo`
4387
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4388
+ DROP TABLE `foo`
4389
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4390
+ DROP TABLE `foo`
4391
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4392
+ DROP TABLE `foo`
4393
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4394
+ DROP TABLE `foo`
4395
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4396
+ PRAGMA table_info('foo')
4397
+ DROP TABLE `foo`
4398
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4399
+ DROP TABLE `foo`
4400
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4401
+ DROP TABLE `foo`
4402
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4403
+ DROP TABLE `foo`
4404
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4405
+ DROP TABLE `foo`
4406
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4407
+ DROP TABLE `foo`
4408
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4409
+ DROP TABLE `foo`
4410
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4411
+ DROP TABLE `foo`
4412
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4413
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4414
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4415
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4416
+ DROP TABLE `foo`
4417
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4418
+ INSERT INTO `foo` (`state`) VALUES ('off')
4419
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4420
+ INSERT INTO `foo` (`state`) VALUES ('on')
4421
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4422
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
4423
+ DROP TABLE `foo`
4424
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4425
+ INSERT INTO `foo` (`state`) VALUES ('off')
4426
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4427
+ INSERT INTO `foo` (`state`) VALUES ('on')
4428
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4429
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
4430
+ DROP TABLE `foo`
4431
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4432
+ INSERT INTO `foo` (`state`) VALUES ('off')
4433
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4434
+ INSERT INTO `foo` (`state`) VALUES ('on')
4435
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4436
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
4437
+ DROP TABLE `foo`
4438
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4439
+ INSERT INTO `foo` (`state`) VALUES ('off')
4440
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4441
+ INSERT INTO `foo` (`state`) VALUES ('on')
4442
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4443
+ INSERT INTO `foo` (`state`) VALUES ('error')
4444
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
4445
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
4446
+ DROP TABLE `foo`
4447
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4448
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4449
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4450
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4451
+ DROP TABLE `foo`
4452
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4453
+ INSERT INTO `foo` (`state`) VALUES ('on')
4454
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4455
+ DROP TABLE `foo`
4456
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4457
+ INSERT INTO `foo` (`state`) VALUES ('on')
4458
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4459
+ DROP TABLE `foo`
4460
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4461
+ INSERT INTO `foo` (`state`) VALUES ('on')
4462
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4463
+ DROP TABLE `foo`
4464
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4465
+ INSERT INTO `foo` (`state`) VALUES ('on')
4466
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4467
+ DROP TABLE `foo`
4468
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4469
+ INSERT INTO `foo` (`state`) VALUES ('on')
4470
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4471
+ DROP TABLE `foo`
4472
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4473
+ INSERT INTO `foo` (`state`) VALUES ('on')
4474
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4475
+ DROP TABLE `foo`
4476
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4477
+ INSERT INTO `foo` (`state`) VALUES ('on')
4478
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4479
+ DROP TABLE `foo`
4480
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4481
+ DROP TABLE `foo`
4482
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4483
+ DROP TABLE `foo`
4484
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4485
+ DROP TABLE `foo`
4486
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4487
+ DROP TABLE `foo`
4488
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4489
+ PRAGMA table_info('foo')
4490
+ DROP TABLE `foo`
4491
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4492
+ DROP TABLE `foo`
4493
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4494
+ DROP TABLE `foo`
4495
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4496
+ DROP TABLE `foo`
4497
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4498
+ DROP TABLE `foo`
4499
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4500
+ DROP TABLE `foo`
4501
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4502
+ DROP TABLE `foo`
4503
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4504
+ DROP TABLE `foo`
4505
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4506
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4507
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4508
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4509
+ DROP TABLE `foo`
4510
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4511
+ INSERT INTO `foo` (`state`) VALUES ('off')
4512
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4513
+ INSERT INTO `foo` (`state`) VALUES ('on')
4514
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4515
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
4516
+ DROP TABLE `foo`
4517
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4518
+ INSERT INTO `foo` (`state`) VALUES ('off')
4519
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4520
+ INSERT INTO `foo` (`state`) VALUES ('on')
4521
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4522
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
4523
+ DROP TABLE `foo`
4524
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4525
+ INSERT INTO `foo` (`state`) VALUES ('off')
4526
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4527
+ INSERT INTO `foo` (`state`) VALUES ('on')
4528
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4529
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
4530
+ DROP TABLE `foo`
4531
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4532
+ INSERT INTO `foo` (`state`) VALUES ('off')
4533
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4534
+ INSERT INTO `foo` (`state`) VALUES ('on')
4535
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4536
+ INSERT INTO `foo` (`state`) VALUES ('error')
4537
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
4538
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
4539
+ DROP TABLE `foo`
4540
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4541
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4542
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4543
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4544
+ DROP TABLE `foo`
4545
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4546
+ INSERT INTO `foo` (`state`) VALUES ('on')
4547
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4548
+ DROP TABLE `foo`
4549
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4550
+ INSERT INTO `foo` (`state`) VALUES ('on')
4551
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4552
+ DROP TABLE `foo`
4553
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4554
+ INSERT INTO `foo` (`state`) VALUES ('on')
4555
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4556
+ DROP TABLE `foo`
4557
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4558
+ INSERT INTO `foo` (`state`) VALUES ('on')
4559
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4560
+ DROP TABLE `foo`
4561
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4562
+ INSERT INTO `foo` (`state`) VALUES ('on')
4563
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4564
+ DROP TABLE `foo`
4565
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4566
+ INSERT INTO `foo` (`state`) VALUES ('on')
4567
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4568
+ DROP TABLE `foo`
4569
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4570
+ INSERT INTO `foo` (`state`) VALUES ('on')
4571
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4572
+ DROP TABLE `foo`
4573
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4574
+ DROP TABLE `foo`
4575
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4576
+ DROP TABLE `foo`
4577
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4578
+ DROP TABLE `foo`
4579
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4580
+ DROP TABLE `foo`
4581
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4582
+ PRAGMA table_info('foo')
4583
+ DROP TABLE `foo`
4584
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4585
+ DROP TABLE `foo`
4586
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4587
+ DROP TABLE `foo`
4588
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4589
+ DROP TABLE `foo`
4590
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4591
+ DROP TABLE `foo`
4592
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4593
+ DROP TABLE `foo`
4594
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4595
+ DROP TABLE `foo`
4596
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4597
+ DROP TABLE `foo`
4598
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4599
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4600
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4601
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4602
+ DROP TABLE `foo`
4603
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4604
+ INSERT INTO `foo` (`state`) VALUES ('off')
4605
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4606
+ INSERT INTO `foo` (`state`) VALUES ('on')
4607
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4608
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
4609
+ DROP TABLE `foo`
4610
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4611
+ INSERT INTO `foo` (`state`) VALUES ('off')
4612
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4613
+ INSERT INTO `foo` (`state`) VALUES ('on')
4614
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4615
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
4616
+ DROP TABLE `foo`
4617
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4618
+ INSERT INTO `foo` (`state`) VALUES ('off')
4619
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4620
+ INSERT INTO `foo` (`state`) VALUES ('on')
4621
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4622
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
4623
+ DROP TABLE `foo`
4624
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4625
+ INSERT INTO `foo` (`state`) VALUES ('off')
4626
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4627
+ INSERT INTO `foo` (`state`) VALUES ('on')
4628
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4629
+ INSERT INTO `foo` (`state`) VALUES ('error')
4630
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
4631
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
4632
+ DROP TABLE `foo`
4633
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4634
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4635
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4636
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4637
+ DROP TABLE `foo`
4638
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4639
+ INSERT INTO `foo` (`state`) VALUES ('on')
4640
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4641
+ DROP TABLE `foo`
4642
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4643
+ INSERT INTO `foo` (`state`) VALUES ('on')
4644
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4645
+ DROP TABLE `foo`
4646
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4647
+ INSERT INTO `foo` (`state`) VALUES ('on')
4648
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4649
+ DROP TABLE `foo`
4650
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4651
+ INSERT INTO `foo` (`state`) VALUES ('on')
4652
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4653
+ DROP TABLE `foo`
4654
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4655
+ INSERT INTO `foo` (`state`) VALUES ('on')
4656
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4657
+ DROP TABLE `foo`
4658
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4659
+ INSERT INTO `foo` (`state`) VALUES ('on')
4660
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4661
+ DROP TABLE `foo`
4662
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4663
+ INSERT INTO `foo` (`state`) VALUES ('on')
4664
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4665
+ DROP TABLE `foo`
4666
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4667
+ DROP TABLE `foo`
4668
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4669
+ DROP TABLE `foo`
4670
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4671
+ DROP TABLE `foo`
4672
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4673
+ DROP TABLE `foo`
4674
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4675
+ PRAGMA table_info('foo')
4676
+ DROP TABLE `foo`
4677
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4678
+ DROP TABLE `foo`
4679
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4680
+ DROP TABLE `foo`
4681
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4682
+ DROP TABLE `foo`
4683
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4684
+ DROP TABLE `foo`
4685
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4686
+ DROP TABLE `foo`
4687
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4688
+ DROP TABLE `foo`
4689
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4690
+ DROP TABLE `foo`
4691
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4692
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4693
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4694
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4695
+ DROP TABLE `foo`
4696
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4697
+ INSERT INTO `foo` (`state`) VALUES ('off')
4698
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4699
+ INSERT INTO `foo` (`state`) VALUES ('on')
4700
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4701
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
4702
+ DROP TABLE `foo`
4703
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4704
+ INSERT INTO `foo` (`state`) VALUES ('off')
4705
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4706
+ INSERT INTO `foo` (`state`) VALUES ('on')
4707
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4708
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
4709
+ DROP TABLE `foo`
4710
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4711
+ INSERT INTO `foo` (`state`) VALUES ('off')
4712
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4713
+ INSERT INTO `foo` (`state`) VALUES ('on')
4714
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4715
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
4716
+ DROP TABLE `foo`
4717
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4718
+ INSERT INTO `foo` (`state`) VALUES ('off')
4719
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4720
+ INSERT INTO `foo` (`state`) VALUES ('on')
4721
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4722
+ INSERT INTO `foo` (`state`) VALUES ('error')
4723
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
4724
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
4725
+ DROP TABLE `foo`
4726
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4727
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4728
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4729
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4730
+ DROP TABLE `foo`
4731
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4732
+ INSERT INTO `foo` (`state`) VALUES ('on')
4733
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4734
+ DROP TABLE `foo`
4735
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4736
+ INSERT INTO `foo` (`state`) VALUES ('on')
4737
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4738
+ DROP TABLE `foo`
4739
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4740
+ INSERT INTO `foo` (`state`) VALUES ('on')
4741
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4742
+ DROP TABLE `foo`
4743
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4744
+ INSERT INTO `foo` (`state`) VALUES ('on')
4745
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4746
+ DROP TABLE `foo`
4747
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4748
+ INSERT INTO `foo` (`state`) VALUES ('on')
4749
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4750
+ DROP TABLE `foo`
4751
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4752
+ INSERT INTO `foo` (`state`) VALUES ('on')
4753
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4754
+ DROP TABLE `foo`
4755
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4756
+ INSERT INTO `foo` (`state`) VALUES ('on')
4757
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4758
+ DROP TABLE `foo`
4759
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4760
+ DROP TABLE `foo`
4761
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4762
+ DROP TABLE `foo`
4763
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4764
+ DROP TABLE `foo`
4765
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4766
+ DROP TABLE `foo`
4767
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4768
+ PRAGMA table_info('foo')
4769
+ DROP TABLE `foo`
4770
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4771
+ DROP TABLE `foo`
4772
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4773
+ DROP TABLE `foo`
4774
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4775
+ DROP TABLE `foo`
4776
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4777
+ DROP TABLE `foo`
4778
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4779
+ DROP TABLE `foo`
4780
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4781
+ DROP TABLE `foo`
4782
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4783
+ DROP TABLE `foo`
4784
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4785
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4786
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4787
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4788
+ DROP TABLE `foo`
4789
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4790
+ INSERT INTO `foo` (`state`) VALUES ('off')
4791
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4792
+ INSERT INTO `foo` (`state`) VALUES ('on')
4793
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4794
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
4795
+ DROP TABLE `foo`
4796
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4797
+ INSERT INTO `foo` (`state`) VALUES ('off')
4798
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4799
+ INSERT INTO `foo` (`state`) VALUES ('on')
4800
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4801
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
4802
+ DROP TABLE `foo`
4803
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4804
+ INSERT INTO `foo` (`state`) VALUES ('off')
4805
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4806
+ INSERT INTO `foo` (`state`) VALUES ('on')
4807
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4808
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
4809
+ DROP TABLE `foo`
4810
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4811
+ INSERT INTO `foo` (`state`) VALUES ('off')
4812
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4813
+ INSERT INTO `foo` (`state`) VALUES ('on')
4814
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4815
+ INSERT INTO `foo` (`state`) VALUES ('error')
4816
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
4817
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
4818
+ DROP TABLE `foo`
4819
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4820
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4821
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4822
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4823
+ DROP TABLE `foo`
4824
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4825
+ INSERT INTO `foo` (`state`) VALUES ('on')
4826
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4827
+ DROP TABLE `foo`
4828
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4829
+ INSERT INTO `foo` (`state`) VALUES ('on')
4830
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4831
+ DROP TABLE `foo`
4832
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4833
+ INSERT INTO `foo` (`state`) VALUES ('on')
4834
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4835
+ DROP TABLE `foo`
4836
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4837
+ INSERT INTO `foo` (`state`) VALUES ('on')
4838
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4839
+ DROP TABLE `foo`
4840
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4841
+ INSERT INTO `foo` (`state`) VALUES ('on')
4842
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4843
+ DROP TABLE `foo`
4844
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4845
+ INSERT INTO `foo` (`state`) VALUES ('on')
4846
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4847
+ DROP TABLE `foo`
4848
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4849
+ INSERT INTO `foo` (`state`) VALUES ('on')
4850
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4851
+ DROP TABLE `foo`
4852
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4853
+ DROP TABLE `foo`
4854
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4855
+ DROP TABLE `foo`
4856
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4857
+ DROP TABLE `foo`
4858
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4859
+ DROP TABLE `foo`
4860
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4861
+ PRAGMA table_info('foo')
4862
+ DROP TABLE `foo`
4863
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4864
+ DROP TABLE `foo`
4865
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4866
+ DROP TABLE `foo`
4867
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4868
+ DROP TABLE `foo`
4869
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4870
+ DROP TABLE `foo`
4871
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4872
+ DROP TABLE `foo`
4873
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4874
+ DROP TABLE `foo`
4875
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4876
+ DROP TABLE `foo`
4877
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4878
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4879
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4880
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4881
+ DROP TABLE `foo`
4882
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4883
+ INSERT INTO `foo` (`state`) VALUES ('off')
4884
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4885
+ INSERT INTO `foo` (`state`) VALUES ('on')
4886
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4887
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
4888
+ DROP TABLE `foo`
4889
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4890
+ INSERT INTO `foo` (`state`) VALUES ('off')
4891
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4892
+ INSERT INTO `foo` (`state`) VALUES ('on')
4893
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4894
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
4895
+ DROP TABLE `foo`
4896
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4897
+ INSERT INTO `foo` (`state`) VALUES ('off')
4898
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4899
+ INSERT INTO `foo` (`state`) VALUES ('on')
4900
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4901
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
4902
+ DROP TABLE `foo`
4903
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4904
+ INSERT INTO `foo` (`state`) VALUES ('off')
4905
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4906
+ INSERT INTO `foo` (`state`) VALUES ('on')
4907
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4908
+ INSERT INTO `foo` (`state`) VALUES ('error')
4909
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
4910
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
4911
+ DROP TABLE `foo`
4912
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4913
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4914
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4915
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4916
+ DROP TABLE `foo`
4917
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4918
+ INSERT INTO `foo` (`state`) VALUES ('on')
4919
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4920
+ DROP TABLE `foo`
4921
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4922
+ INSERT INTO `foo` (`state`) VALUES ('on')
4923
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4924
+ DROP TABLE `foo`
4925
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4926
+ INSERT INTO `foo` (`state`) VALUES ('on')
4927
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4928
+ DROP TABLE `foo`
4929
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4930
+ INSERT INTO `foo` (`state`) VALUES ('on')
4931
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4932
+ DROP TABLE `foo`
4933
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4934
+ INSERT INTO `foo` (`state`) VALUES ('on')
4935
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4936
+ DROP TABLE `foo`
4937
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4938
+ INSERT INTO `foo` (`state`) VALUES ('on')
4939
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4940
+ DROP TABLE `foo`
4941
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4942
+ INSERT INTO `foo` (`state`) VALUES ('on')
4943
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4944
+ DROP TABLE `foo`
4945
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4946
+ DROP TABLE `foo`
4947
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4948
+ DROP TABLE `foo`
4949
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4950
+ DROP TABLE `foo`
4951
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4952
+ DROP TABLE `foo`
4953
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4954
+ PRAGMA table_info('foo')
4955
+ DROP TABLE `foo`
4956
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4957
+ DROP TABLE `foo`
4958
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4959
+ DROP TABLE `foo`
4960
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4961
+ DROP TABLE `foo`
4962
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4963
+ DROP TABLE `foo`
4964
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4965
+ DROP TABLE `foo`
4966
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4967
+ DROP TABLE `foo`
4968
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4969
+ DROP TABLE `foo`
4970
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4971
+ INSERT INTO `foo` (`state`) VALUES (NULL)
4972
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4973
+ SELECT COUNT(*) FROM `foo` LIMIT 1
4974
+ DROP TABLE `foo`
4975
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4976
+ INSERT INTO `foo` (`state`) VALUES ('off')
4977
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4978
+ INSERT INTO `foo` (`state`) VALUES ('on')
4979
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4980
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
4981
+ DROP TABLE `foo`
4982
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4983
+ INSERT INTO `foo` (`state`) VALUES ('off')
4984
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4985
+ INSERT INTO `foo` (`state`) VALUES ('on')
4986
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4987
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
4988
+ DROP TABLE `foo`
4989
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4990
+ INSERT INTO `foo` (`state`) VALUES ('off')
4991
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4992
+ INSERT INTO `foo` (`state`) VALUES ('on')
4993
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
4994
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
4995
+ DROP TABLE `foo`
4996
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
4997
+ INSERT INTO `foo` (`state`) VALUES ('off')
4998
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
4999
+ INSERT INTO `foo` (`state`) VALUES ('on')
5000
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5001
+ INSERT INTO `foo` (`state`) VALUES ('error')
5002
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
5003
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
5004
+ DROP TABLE `foo`
5005
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5006
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5007
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5008
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5009
+ DROP TABLE `foo`
5010
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5011
+ INSERT INTO `foo` (`state`) VALUES ('on')
5012
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5013
+ DROP TABLE `foo`
5014
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5015
+ INSERT INTO `foo` (`state`) VALUES ('on')
5016
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5017
+ DROP TABLE `foo`
5018
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5019
+ INSERT INTO `foo` (`state`) VALUES ('on')
5020
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5021
+ DROP TABLE `foo`
5022
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5023
+ INSERT INTO `foo` (`state`) VALUES ('on')
5024
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5025
+ DROP TABLE `foo`
5026
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5027
+ INSERT INTO `foo` (`state`) VALUES ('on')
5028
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5029
+ DROP TABLE `foo`
5030
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5031
+ INSERT INTO `foo` (`state`) VALUES ('on')
5032
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5033
+ DROP TABLE `foo`
5034
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5035
+ INSERT INTO `foo` (`state`) VALUES ('on')
5036
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5037
+ DROP TABLE `foo`
5038
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5039
+ DROP TABLE `foo`
5040
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5041
+ DROP TABLE `foo`
5042
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5043
+ DROP TABLE `foo`
5044
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5045
+ DROP TABLE `foo`
5046
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5047
+ PRAGMA table_info('foo')
5048
+ DROP TABLE `foo`
5049
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5050
+ DROP TABLE `foo`
5051
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5052
+ DROP TABLE `foo`
5053
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5054
+ DROP TABLE `foo`
5055
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5056
+ DROP TABLE `foo`
5057
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5058
+ DROP TABLE `foo`
5059
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5060
+ DROP TABLE `foo`
5061
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5062
+ DROP TABLE `foo`
5063
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5064
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5065
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5066
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5067
+ DROP TABLE `foo`
5068
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5069
+ INSERT INTO `foo` (`state`) VALUES ('off')
5070
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5071
+ INSERT INTO `foo` (`state`) VALUES ('on')
5072
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5073
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
5074
+ DROP TABLE `foo`
5075
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5076
+ INSERT INTO `foo` (`state`) VALUES ('off')
5077
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5078
+ INSERT INTO `foo` (`state`) VALUES ('on')
5079
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5080
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
5081
+ DROP TABLE `foo`
5082
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5083
+ INSERT INTO `foo` (`state`) VALUES ('off')
5084
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5085
+ INSERT INTO `foo` (`state`) VALUES ('on')
5086
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5087
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
5088
+ DROP TABLE `foo`
5089
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5090
+ INSERT INTO `foo` (`state`) VALUES ('off')
5091
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5092
+ INSERT INTO `foo` (`state`) VALUES ('on')
5093
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5094
+ INSERT INTO `foo` (`state`) VALUES ('error')
5095
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
5096
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
5097
+ DROP TABLE `foo`
5098
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5099
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5100
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5101
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5102
+ DROP TABLE `foo`
5103
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5104
+ INSERT INTO `foo` (`state`) VALUES ('on')
5105
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5106
+ DROP TABLE `foo`
5107
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5108
+ INSERT INTO `foo` (`state`) VALUES ('on')
5109
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5110
+ DROP TABLE `foo`
5111
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5112
+ INSERT INTO `foo` (`state`) VALUES ('on')
5113
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5114
+ DROP TABLE `foo`
5115
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5116
+ INSERT INTO `foo` (`state`) VALUES ('on')
5117
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5118
+ DROP TABLE `foo`
5119
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5120
+ INSERT INTO `foo` (`state`) VALUES ('on')
5121
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5122
+ DROP TABLE `foo`
5123
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5124
+ INSERT INTO `foo` (`state`) VALUES ('on')
5125
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5126
+ DROP TABLE `foo`
5127
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5128
+ INSERT INTO `foo` (`state`) VALUES ('on')
5129
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5130
+ DROP TABLE `foo`
5131
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5132
+ DROP TABLE `foo`
5133
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5134
+ DROP TABLE `foo`
5135
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5136
+ DROP TABLE `foo`
5137
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5138
+ DROP TABLE `foo`
5139
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5140
+ PRAGMA table_info('foo')
5141
+ DROP TABLE `foo`
5142
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5143
+ DROP TABLE `foo`
5144
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5145
+ DROP TABLE `foo`
5146
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5147
+ DROP TABLE `foo`
5148
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5149
+ DROP TABLE `foo`
5150
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5151
+ DROP TABLE `foo`
5152
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5153
+ DROP TABLE `foo`
5154
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5155
+ DROP TABLE `foo`
5156
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5157
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5158
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5159
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5160
+ DROP TABLE `foo`
5161
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5162
+ INSERT INTO `foo` (`state`) VALUES ('off')
5163
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5164
+ INSERT INTO `foo` (`state`) VALUES ('on')
5165
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5166
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
5167
+ DROP TABLE `foo`
5168
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5169
+ INSERT INTO `foo` (`state`) VALUES ('off')
5170
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5171
+ INSERT INTO `foo` (`state`) VALUES ('on')
5172
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5173
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
5174
+ DROP TABLE `foo`
5175
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5176
+ INSERT INTO `foo` (`state`) VALUES ('off')
5177
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5178
+ INSERT INTO `foo` (`state`) VALUES ('on')
5179
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5180
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
5181
+ DROP TABLE `foo`
5182
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5183
+ INSERT INTO `foo` (`state`) VALUES ('off')
5184
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5185
+ INSERT INTO `foo` (`state`) VALUES ('on')
5186
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5187
+ INSERT INTO `foo` (`state`) VALUES ('error')
5188
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
5189
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
5190
+ DROP TABLE `foo`
5191
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5192
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5193
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5194
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5195
+ DROP TABLE `foo`
5196
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5197
+ INSERT INTO `foo` (`state`) VALUES ('on')
5198
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5199
+ DROP TABLE `foo`
5200
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5201
+ INSERT INTO `foo` (`state`) VALUES ('on')
5202
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5203
+ DROP TABLE `foo`
5204
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5205
+ INSERT INTO `foo` (`state`) VALUES ('on')
5206
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5207
+ DROP TABLE `foo`
5208
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5209
+ INSERT INTO `foo` (`state`) VALUES ('on')
5210
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5211
+ DROP TABLE `foo`
5212
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5213
+ INSERT INTO `foo` (`state`) VALUES ('on')
5214
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5215
+ DROP TABLE `foo`
5216
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5217
+ INSERT INTO `foo` (`state`) VALUES ('on')
5218
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5219
+ DROP TABLE `foo`
5220
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5221
+ INSERT INTO `foo` (`state`) VALUES ('on')
5222
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5223
+ DROP TABLE `foo`
5224
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5225
+ DROP TABLE `foo`
5226
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5227
+ DROP TABLE `foo`
5228
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5229
+ DROP TABLE `foo`
5230
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5231
+ DROP TABLE `foo`
5232
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5233
+ PRAGMA table_info('foo')
5234
+ DROP TABLE `foo`
5235
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5236
+ DROP TABLE `foo`
5237
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5238
+ DROP TABLE `foo`
5239
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5240
+ DROP TABLE `foo`
5241
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5242
+ DROP TABLE `foo`
5243
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5244
+ DROP TABLE `foo`
5245
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5246
+ DROP TABLE `foo`
5247
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5248
+ DROP TABLE `foo`
5249
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5250
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5251
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5252
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5253
+ DROP TABLE `foo`
5254
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5255
+ INSERT INTO `foo` (`state`) VALUES ('off')
5256
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5257
+ INSERT INTO `foo` (`state`) VALUES ('on')
5258
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5259
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
5260
+ DROP TABLE `foo`
5261
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5262
+ INSERT INTO `foo` (`state`) VALUES ('off')
5263
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5264
+ INSERT INTO `foo` (`state`) VALUES ('on')
5265
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5266
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
5267
+ DROP TABLE `foo`
5268
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5269
+ INSERT INTO `foo` (`state`) VALUES ('off')
5270
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5271
+ INSERT INTO `foo` (`state`) VALUES ('on')
5272
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5273
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
5274
+ DROP TABLE `foo`
5275
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5276
+ INSERT INTO `foo` (`state`) VALUES ('off')
5277
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5278
+ INSERT INTO `foo` (`state`) VALUES ('on')
5279
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5280
+ INSERT INTO `foo` (`state`) VALUES ('error')
5281
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
5282
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
5283
+ DROP TABLE `foo`
5284
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5285
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5286
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5287
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5288
+ DROP TABLE `foo`
5289
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5290
+ INSERT INTO `foo` (`state`) VALUES ('on')
5291
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5292
+ DROP TABLE `foo`
5293
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5294
+ INSERT INTO `foo` (`state`) VALUES ('on')
5295
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5296
+ DROP TABLE `foo`
5297
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5298
+ INSERT INTO `foo` (`state`) VALUES ('on')
5299
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5300
+ DROP TABLE `foo`
5301
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5302
+ INSERT INTO `foo` (`state`) VALUES ('on')
5303
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5304
+ DROP TABLE `foo`
5305
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5306
+ INSERT INTO `foo` (`state`) VALUES ('on')
5307
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5308
+ DROP TABLE `foo`
5309
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5310
+ INSERT INTO `foo` (`state`) VALUES ('on')
5311
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5312
+ DROP TABLE `foo`
5313
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5314
+ INSERT INTO `foo` (`state`) VALUES ('on')
5315
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5316
+ DROP TABLE `foo`
5317
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5318
+ DROP TABLE `foo`
5319
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5320
+ DROP TABLE `foo`
5321
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5322
+ DROP TABLE `foo`
5323
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5324
+ DROP TABLE `foo`
5325
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5326
+ PRAGMA table_info('foo')
5327
+ DROP TABLE `foo`
5328
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5329
+ DROP TABLE `foo`
5330
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5331
+ DROP TABLE `foo`
5332
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5333
+ DROP TABLE `foo`
5334
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5335
+ DROP TABLE `foo`
5336
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5337
+ DROP TABLE `foo`
5338
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5339
+ DROP TABLE `foo`
5340
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5341
+ DROP TABLE `foo`
5342
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5343
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5344
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5345
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5346
+ DROP TABLE `foo`
5347
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5348
+ INSERT INTO `foo` (`state`) VALUES ('off')
5349
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5350
+ INSERT INTO `foo` (`state`) VALUES ('on')
5351
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5352
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
5353
+ DROP TABLE `foo`
5354
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5355
+ INSERT INTO `foo` (`state`) VALUES ('off')
5356
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5357
+ INSERT INTO `foo` (`state`) VALUES ('on')
5358
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5359
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
5360
+ DROP TABLE `foo`
5361
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5362
+ INSERT INTO `foo` (`state`) VALUES ('off')
5363
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5364
+ INSERT INTO `foo` (`state`) VALUES ('on')
5365
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5366
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
5367
+ DROP TABLE `foo`
5368
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5369
+ INSERT INTO `foo` (`state`) VALUES ('off')
5370
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5371
+ INSERT INTO `foo` (`state`) VALUES ('on')
5372
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5373
+ INSERT INTO `foo` (`state`) VALUES ('error')
5374
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
5375
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
5376
+ DROP TABLE `foo`
5377
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5378
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5379
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5380
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5381
+ DROP TABLE `foo`
5382
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5383
+ INSERT INTO `foo` (`state`) VALUES ('on')
5384
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5385
+ DROP TABLE `foo`
5386
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5387
+ INSERT INTO `foo` (`state`) VALUES ('on')
5388
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5389
+ DROP TABLE `foo`
5390
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5391
+ INSERT INTO `foo` (`state`) VALUES ('on')
5392
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5393
+ DROP TABLE `foo`
5394
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5395
+ INSERT INTO `foo` (`state`) VALUES ('on')
5396
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5397
+ DROP TABLE `foo`
5398
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5399
+ INSERT INTO `foo` (`state`) VALUES ('on')
5400
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5401
+ DROP TABLE `foo`
5402
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5403
+ INSERT INTO `foo` (`state`) VALUES ('on')
5404
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5405
+ DROP TABLE `foo`
5406
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5407
+ INSERT INTO `foo` (`state`) VALUES ('on')
5408
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5409
+ DROP TABLE `foo`
5410
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5411
+ DROP TABLE `foo`
5412
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5413
+ DROP TABLE `foo`
5414
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5415
+ DROP TABLE `foo`
5416
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5417
+ DROP TABLE `foo`
5418
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5419
+ PRAGMA table_info('foo')
5420
+ DROP TABLE `foo`
5421
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5422
+ DROP TABLE `foo`
5423
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5424
+ DROP TABLE `foo`
5425
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5426
+ DROP TABLE `foo`
5427
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5428
+ DROP TABLE `foo`
5429
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5430
+ DROP TABLE `foo`
5431
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5432
+ DROP TABLE `foo`
5433
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5434
+ DROP TABLE `foo`
5435
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5436
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5437
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5438
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5439
+ DROP TABLE `foo`
5440
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5441
+ INSERT INTO `foo` (`state`) VALUES ('off')
5442
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5443
+ INSERT INTO `foo` (`state`) VALUES ('on')
5444
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5445
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
5446
+ DROP TABLE `foo`
5447
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5448
+ INSERT INTO `foo` (`state`) VALUES ('off')
5449
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5450
+ INSERT INTO `foo` (`state`) VALUES ('on')
5451
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5452
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
5453
+ DROP TABLE `foo`
5454
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5455
+ INSERT INTO `foo` (`state`) VALUES ('off')
5456
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5457
+ INSERT INTO `foo` (`state`) VALUES ('on')
5458
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5459
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
5460
+ DROP TABLE `foo`
5461
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5462
+ INSERT INTO `foo` (`state`) VALUES ('off')
5463
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5464
+ INSERT INTO `foo` (`state`) VALUES ('on')
5465
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5466
+ INSERT INTO `foo` (`state`) VALUES ('error')
5467
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
5468
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
5469
+ DROP TABLE `foo`
5470
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5471
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5472
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5473
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5474
+ DROP TABLE `foo`
5475
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5476
+ INSERT INTO `foo` (`state`) VALUES ('on')
5477
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5478
+ DROP TABLE `foo`
5479
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5480
+ INSERT INTO `foo` (`state`) VALUES ('on')
5481
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5482
+ DROP TABLE `foo`
5483
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5484
+ INSERT INTO `foo` (`state`) VALUES ('on')
5485
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5486
+ DROP TABLE `foo`
5487
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5488
+ INSERT INTO `foo` (`state`) VALUES ('on')
5489
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5490
+ DROP TABLE `foo`
5491
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5492
+ INSERT INTO `foo` (`state`) VALUES ('on')
5493
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5494
+ DROP TABLE `foo`
5495
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5496
+ INSERT INTO `foo` (`state`) VALUES ('on')
5497
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5498
+ DROP TABLE `foo`
5499
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5500
+ INSERT INTO `foo` (`state`) VALUES ('on')
5501
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5502
+ DROP TABLE `foo`
5503
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5504
+ DROP TABLE `foo`
5505
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5506
+ DROP TABLE `foo`
5507
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5508
+ DROP TABLE `foo`
5509
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5510
+ DROP TABLE `foo`
5511
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5512
+ PRAGMA table_info('foo')
5513
+ DROP TABLE `foo`
5514
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5515
+ DROP TABLE `foo`
5516
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5517
+ DROP TABLE `foo`
5518
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5519
+ DROP TABLE `foo`
5520
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5521
+ DROP TABLE `foo`
5522
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5523
+ DROP TABLE `foo`
5524
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5525
+ DROP TABLE `foo`
5526
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5527
+ DROP TABLE `foo`
5528
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5529
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5530
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5531
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5532
+ DROP TABLE `foo`
5533
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5534
+ INSERT INTO `foo` (`state`) VALUES ('off')
5535
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5536
+ INSERT INTO `foo` (`state`) VALUES ('on')
5537
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5538
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
5539
+ DROP TABLE `foo`
5540
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5541
+ INSERT INTO `foo` (`state`) VALUES ('off')
5542
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5543
+ INSERT INTO `foo` (`state`) VALUES ('on')
5544
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5545
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
5546
+ DROP TABLE `foo`
5547
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5548
+ INSERT INTO `foo` (`state`) VALUES ('off')
5549
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5550
+ INSERT INTO `foo` (`state`) VALUES ('on')
5551
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5552
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
5553
+ DROP TABLE `foo`
5554
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5555
+ INSERT INTO `foo` (`state`) VALUES ('off')
5556
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5557
+ INSERT INTO `foo` (`state`) VALUES ('on')
5558
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5559
+ INSERT INTO `foo` (`state`) VALUES ('error')
5560
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
5561
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
5562
+ DROP TABLE `foo`
5563
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5564
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5565
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5566
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5567
+ DROP TABLE `foo`
5568
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5569
+ INSERT INTO `foo` (`state`) VALUES ('on')
5570
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5571
+ DROP TABLE `foo`
5572
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5573
+ INSERT INTO `foo` (`state`) VALUES ('on')
5574
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5575
+ DROP TABLE `foo`
5576
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5577
+ INSERT INTO `foo` (`state`) VALUES ('on')
5578
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5579
+ DROP TABLE `foo`
5580
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5581
+ INSERT INTO `foo` (`state`) VALUES ('on')
5582
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5583
+ DROP TABLE `foo`
5584
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5585
+ INSERT INTO `foo` (`state`) VALUES ('on')
5586
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5587
+ DROP TABLE `foo`
5588
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5589
+ INSERT INTO `foo` (`state`) VALUES ('on')
5590
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5591
+ DROP TABLE `foo`
5592
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5593
+ INSERT INTO `foo` (`state`) VALUES ('on')
5594
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5595
+ DROP TABLE `foo`
5596
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5597
+ DROP TABLE `foo`
5598
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5599
+ DROP TABLE `foo`
5600
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5601
+ DROP TABLE `foo`
5602
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5603
+ DROP TABLE `foo`
5604
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5605
+ PRAGMA table_info('foo')
5606
+ DROP TABLE `foo`
5607
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5608
+ DROP TABLE `foo`
5609
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5610
+ DROP TABLE `foo`
5611
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5612
+ DROP TABLE `foo`
5613
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5614
+ DROP TABLE `foo`
5615
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5616
+ DROP TABLE `foo`
5617
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5618
+ DROP TABLE `foo`
5619
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5620
+ DROP TABLE `foo`
5621
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5622
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5623
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5624
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5625
+ DROP TABLE `foo`
5626
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5627
+ INSERT INTO `foo` (`state`) VALUES ('off')
5628
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5629
+ INSERT INTO `foo` (`state`) VALUES ('on')
5630
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5631
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
5632
+ DROP TABLE `foo`
5633
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5634
+ INSERT INTO `foo` (`state`) VALUES ('off')
5635
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5636
+ INSERT INTO `foo` (`state`) VALUES ('on')
5637
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5638
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
5639
+ DROP TABLE `foo`
5640
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5641
+ INSERT INTO `foo` (`state`) VALUES ('off')
5642
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5643
+ INSERT INTO `foo` (`state`) VALUES ('on')
5644
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5645
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
5646
+ DROP TABLE `foo`
5647
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5648
+ INSERT INTO `foo` (`state`) VALUES ('off')
5649
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5650
+ INSERT INTO `foo` (`state`) VALUES ('on')
5651
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5652
+ INSERT INTO `foo` (`state`) VALUES ('error')
5653
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
5654
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
5655
+ DROP TABLE `foo`
5656
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5657
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5658
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5659
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5660
+ DROP TABLE `foo`
5661
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5662
+ INSERT INTO `foo` (`state`) VALUES ('on')
5663
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5664
+ DROP TABLE `foo`
5665
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5666
+ INSERT INTO `foo` (`state`) VALUES ('on')
5667
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5668
+ DROP TABLE `foo`
5669
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5670
+ INSERT INTO `foo` (`state`) VALUES ('on')
5671
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5672
+ DROP TABLE `foo`
5673
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5674
+ INSERT INTO `foo` (`state`) VALUES ('on')
5675
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5676
+ DROP TABLE `foo`
5677
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5678
+ INSERT INTO `foo` (`state`) VALUES ('on')
5679
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5680
+ DROP TABLE `foo`
5681
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5682
+ INSERT INTO `foo` (`state`) VALUES ('on')
5683
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5684
+ DROP TABLE `foo`
5685
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5686
+ INSERT INTO `foo` (`state`) VALUES ('on')
5687
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5688
+ DROP TABLE `foo`
5689
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5690
+ DROP TABLE `foo`
5691
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5692
+ DROP TABLE `foo`
5693
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5694
+ DROP TABLE `foo`
5695
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5696
+ DROP TABLE `foo`
5697
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5698
+ PRAGMA table_info('foo')
5699
+ DROP TABLE `foo`
5700
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5701
+ DROP TABLE `foo`
5702
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5703
+ DROP TABLE `foo`
5704
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5705
+ DROP TABLE `foo`
5706
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5707
+ DROP TABLE `foo`
5708
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5709
+ DROP TABLE `foo`
5710
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5711
+ DROP TABLE `foo`
5712
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5713
+ DROP TABLE `foo`
5714
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5715
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5716
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5717
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5718
+ DROP TABLE `foo`
5719
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5720
+ INSERT INTO `foo` (`state`) VALUES ('off')
5721
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5722
+ INSERT INTO `foo` (`state`) VALUES ('on')
5723
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5724
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
5725
+ DROP TABLE `foo`
5726
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5727
+ INSERT INTO `foo` (`state`) VALUES ('off')
5728
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5729
+ INSERT INTO `foo` (`state`) VALUES ('on')
5730
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5731
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
5732
+ DROP TABLE `foo`
5733
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5734
+ INSERT INTO `foo` (`state`) VALUES ('off')
5735
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5736
+ INSERT INTO `foo` (`state`) VALUES ('on')
5737
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5738
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
5739
+ DROP TABLE `foo`
5740
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5741
+ INSERT INTO `foo` (`state`) VALUES ('off')
5742
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5743
+ INSERT INTO `foo` (`state`) VALUES ('on')
5744
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5745
+ INSERT INTO `foo` (`state`) VALUES ('error')
5746
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
5747
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
5748
+ DROP TABLE `foo`
5749
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5750
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5751
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5752
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5753
+ DROP TABLE `foo`
5754
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5755
+ INSERT INTO `foo` (`state`) VALUES ('on')
5756
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5757
+ DROP TABLE `foo`
5758
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5759
+ INSERT INTO `foo` (`state`) VALUES ('on')
5760
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5761
+ DROP TABLE `foo`
5762
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5763
+ INSERT INTO `foo` (`state`) VALUES ('on')
5764
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5765
+ DROP TABLE `foo`
5766
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5767
+ INSERT INTO `foo` (`state`) VALUES ('on')
5768
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5769
+ DROP TABLE `foo`
5770
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5771
+ INSERT INTO `foo` (`state`) VALUES ('on')
5772
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5773
+ DROP TABLE `foo`
5774
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5775
+ INSERT INTO `foo` (`state`) VALUES ('on')
5776
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5777
+ DROP TABLE `foo`
5778
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5779
+ INSERT INTO `foo` (`state`) VALUES ('on')
5780
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5781
+ DROP TABLE `foo`
5782
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5783
+ DROP TABLE `foo`
5784
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5785
+ DROP TABLE `foo`
5786
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5787
+ DROP TABLE `foo`
5788
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5789
+ DROP TABLE `foo`
5790
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5791
+ PRAGMA table_info('foo')
5792
+ DROP TABLE `foo`
5793
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5794
+ DROP TABLE `foo`
5795
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5796
+ DROP TABLE `foo`
5797
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5798
+ DROP TABLE `foo`
5799
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5800
+ DROP TABLE `foo`
5801
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5802
+ DROP TABLE `foo`
5803
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5804
+ DROP TABLE `foo`
5805
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5806
+ DROP TABLE `foo`
5807
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5808
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5809
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5810
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5811
+ DROP TABLE `foo`
5812
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5813
+ INSERT INTO `foo` (`state`) VALUES ('off')
5814
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5815
+ INSERT INTO `foo` (`state`) VALUES ('on')
5816
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5817
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
5818
+ DROP TABLE `foo`
5819
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5820
+ INSERT INTO `foo` (`state`) VALUES ('off')
5821
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5822
+ INSERT INTO `foo` (`state`) VALUES ('on')
5823
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5824
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
5825
+ DROP TABLE `foo`
5826
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5827
+ INSERT INTO `foo` (`state`) VALUES ('off')
5828
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5829
+ INSERT INTO `foo` (`state`) VALUES ('on')
5830
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5831
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
5832
+ DROP TABLE `foo`
5833
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5834
+ INSERT INTO `foo` (`state`) VALUES ('off')
5835
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5836
+ INSERT INTO `foo` (`state`) VALUES ('on')
5837
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5838
+ INSERT INTO `foo` (`state`) VALUES ('error')
5839
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
5840
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
5841
+ DROP TABLE `foo`
5842
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5843
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5844
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5845
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5846
+ DROP TABLE `foo`
5847
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5848
+ INSERT INTO `foo` (`state`) VALUES ('on')
5849
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5850
+ DROP TABLE `foo`
5851
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5852
+ INSERT INTO `foo` (`state`) VALUES ('on')
5853
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5854
+ DROP TABLE `foo`
5855
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5856
+ INSERT INTO `foo` (`state`) VALUES ('on')
5857
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5858
+ DROP TABLE `foo`
5859
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5860
+ INSERT INTO `foo` (`state`) VALUES ('on')
5861
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5862
+ DROP TABLE `foo`
5863
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5864
+ INSERT INTO `foo` (`state`) VALUES ('on')
5865
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5866
+ DROP TABLE `foo`
5867
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5868
+ INSERT INTO `foo` (`state`) VALUES ('on')
5869
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5870
+ DROP TABLE `foo`
5871
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5872
+ INSERT INTO `foo` (`state`) VALUES ('on')
5873
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5874
+ DROP TABLE `foo`
5875
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5876
+ DROP TABLE `foo`
5877
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5878
+ DROP TABLE `foo`
5879
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5880
+ DROP TABLE `foo`
5881
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5882
+ DROP TABLE `foo`
5883
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5884
+ PRAGMA table_info('foo')
5885
+ DROP TABLE `foo`
5886
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5887
+ DROP TABLE `foo`
5888
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5889
+ DROP TABLE `foo`
5890
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5891
+ DROP TABLE `foo`
5892
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5893
+ DROP TABLE `foo`
5894
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5895
+ DROP TABLE `foo`
5896
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5897
+ DROP TABLE `foo`
5898
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5899
+ DROP TABLE `foo`
5900
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5901
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5902
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5903
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5904
+ DROP TABLE `foo`
5905
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5906
+ INSERT INTO `foo` (`state`) VALUES ('off')
5907
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5908
+ INSERT INTO `foo` (`state`) VALUES ('on')
5909
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5910
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
5911
+ DROP TABLE `foo`
5912
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5913
+ INSERT INTO `foo` (`state`) VALUES ('off')
5914
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5915
+ INSERT INTO `foo` (`state`) VALUES ('on')
5916
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5917
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
5918
+ DROP TABLE `foo`
5919
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5920
+ INSERT INTO `foo` (`state`) VALUES ('off')
5921
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5922
+ INSERT INTO `foo` (`state`) VALUES ('on')
5923
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5924
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
5925
+ DROP TABLE `foo`
5926
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5927
+ INSERT INTO `foo` (`state`) VALUES ('off')
5928
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5929
+ INSERT INTO `foo` (`state`) VALUES ('on')
5930
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
5931
+ INSERT INTO `foo` (`state`) VALUES ('error')
5932
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
5933
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
5934
+ DROP TABLE `foo`
5935
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5936
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5937
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5938
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5939
+ DROP TABLE `foo`
5940
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5941
+ INSERT INTO `foo` (`state`) VALUES ('on')
5942
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5943
+ DROP TABLE `foo`
5944
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5945
+ INSERT INTO `foo` (`state`) VALUES ('on')
5946
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5947
+ DROP TABLE `foo`
5948
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5949
+ INSERT INTO `foo` (`state`) VALUES ('on')
5950
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5951
+ DROP TABLE `foo`
5952
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5953
+ INSERT INTO `foo` (`state`) VALUES ('on')
5954
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5955
+ DROP TABLE `foo`
5956
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5957
+ INSERT INTO `foo` (`state`) VALUES ('on')
5958
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5959
+ DROP TABLE `foo`
5960
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5961
+ INSERT INTO `foo` (`state`) VALUES ('on')
5962
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5963
+ DROP TABLE `foo`
5964
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5965
+ INSERT INTO `foo` (`state`) VALUES ('on')
5966
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5967
+ DROP TABLE `foo`
5968
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5969
+ DROP TABLE `foo`
5970
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5971
+ DROP TABLE `foo`
5972
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5973
+ DROP TABLE `foo`
5974
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5975
+ DROP TABLE `foo`
5976
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5977
+ PRAGMA table_info('foo')
5978
+ DROP TABLE `foo`
5979
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5980
+ DROP TABLE `foo`
5981
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5982
+ DROP TABLE `foo`
5983
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5984
+ DROP TABLE `foo`
5985
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5986
+ DROP TABLE `foo`
5987
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5988
+ DROP TABLE `foo`
5989
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5990
+ DROP TABLE `foo`
5991
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5992
+ DROP TABLE `foo`
5993
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5994
+ INSERT INTO `foo` (`state`) VALUES (NULL)
5995
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
5996
+ SELECT COUNT(*) FROM `foo` LIMIT 1
5997
+ DROP TABLE `foo`
5998
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
5999
+ INSERT INTO `foo` (`state`) VALUES ('off')
6000
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6001
+ INSERT INTO `foo` (`state`) VALUES ('on')
6002
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6003
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
6004
+ DROP TABLE `foo`
6005
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6006
+ INSERT INTO `foo` (`state`) VALUES ('off')
6007
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6008
+ INSERT INTO `foo` (`state`) VALUES ('on')
6009
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6010
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
6011
+ DROP TABLE `foo`
6012
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6013
+ INSERT INTO `foo` (`state`) VALUES ('off')
6014
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6015
+ INSERT INTO `foo` (`state`) VALUES ('on')
6016
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6017
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
6018
+ DROP TABLE `foo`
6019
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6020
+ INSERT INTO `foo` (`state`) VALUES ('off')
6021
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6022
+ INSERT INTO `foo` (`state`) VALUES ('on')
6023
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6024
+ INSERT INTO `foo` (`state`) VALUES ('error')
6025
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
6026
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
6027
+ DROP TABLE `foo`
6028
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6029
+ INSERT INTO `foo` (`state`) VALUES (NULL)
6030
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6031
+ SELECT COUNT(*) FROM `foo` LIMIT 1
6032
+ DROP TABLE `foo`
6033
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6034
+ INSERT INTO `foo` (`state`) VALUES ('on')
6035
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6036
+ DROP TABLE `foo`
6037
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6038
+ INSERT INTO `foo` (`state`) VALUES ('on')
6039
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6040
+ DROP TABLE `foo`
6041
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6042
+ INSERT INTO `foo` (`state`) VALUES ('on')
6043
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6044
+ DROP TABLE `foo`
6045
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6046
+ INSERT INTO `foo` (`state`) VALUES ('on')
6047
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6048
+ DROP TABLE `foo`
6049
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6050
+ INSERT INTO `foo` (`state`) VALUES ('on')
6051
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6052
+ DROP TABLE `foo`
6053
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6054
+ INSERT INTO `foo` (`state`) VALUES ('on')
6055
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6056
+ DROP TABLE `foo`
6057
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6058
+ INSERT INTO `foo` (`state`) VALUES ('on')
6059
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6060
+ DROP TABLE `foo`
6061
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6062
+ DROP TABLE `foo`
6063
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6064
+ DROP TABLE `foo`
6065
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6066
+ DROP TABLE `foo`
6067
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6068
+ DROP TABLE `foo`
6069
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6070
+ PRAGMA table_info('foo')
6071
+ DROP TABLE `foo`
6072
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6073
+ DROP TABLE `foo`
6074
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6075
+ DROP TABLE `foo`
6076
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6077
+ DROP TABLE `foo`
6078
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6079
+ DROP TABLE `foo`
6080
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6081
+ DROP TABLE `foo`
6082
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6083
+ DROP TABLE `foo`
6084
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6085
+ DROP TABLE `foo`
6086
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6087
+ INSERT INTO `foo` (`state`) VALUES (NULL)
6088
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6089
+ SELECT COUNT(*) FROM `foo` LIMIT 1
6090
+ DROP TABLE `foo`
6091
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6092
+ INSERT INTO `foo` (`state`) VALUES ('off')
6093
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6094
+ INSERT INTO `foo` (`state`) VALUES ('on')
6095
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6096
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
6097
+ DROP TABLE `foo`
6098
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6099
+ INSERT INTO `foo` (`state`) VALUES ('off')
6100
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6101
+ INSERT INTO `foo` (`state`) VALUES ('on')
6102
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6103
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
6104
+ DROP TABLE `foo`
6105
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6106
+ INSERT INTO `foo` (`state`) VALUES ('off')
6107
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6108
+ INSERT INTO `foo` (`state`) VALUES ('on')
6109
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6110
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
6111
+ DROP TABLE `foo`
6112
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6113
+ INSERT INTO `foo` (`state`) VALUES ('off')
6114
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6115
+ INSERT INTO `foo` (`state`) VALUES ('on')
6116
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6117
+ INSERT INTO `foo` (`state`) VALUES ('error')
6118
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
6119
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
6120
+ DROP TABLE `foo`
6121
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6122
+ INSERT INTO `foo` (`state`) VALUES (NULL)
6123
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6124
+ SELECT COUNT(*) FROM `foo` LIMIT 1
6125
+ DROP TABLE `foo`
6126
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6127
+ INSERT INTO `foo` (`state`) VALUES ('on')
6128
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6129
+ DROP TABLE `foo`
6130
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6131
+ INSERT INTO `foo` (`state`) VALUES ('on')
6132
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6133
+ DROP TABLE `foo`
6134
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6135
+ INSERT INTO `foo` (`state`) VALUES ('on')
6136
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6137
+ DROP TABLE `foo`
6138
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6139
+ INSERT INTO `foo` (`state`) VALUES ('on')
6140
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6141
+ DROP TABLE `foo`
6142
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6143
+ INSERT INTO `foo` (`state`) VALUES ('on')
6144
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6145
+ DROP TABLE `foo`
6146
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6147
+ INSERT INTO `foo` (`state`) VALUES ('on')
6148
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6149
+ DROP TABLE `foo`
6150
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6151
+ INSERT INTO `foo` (`state`) VALUES ('on')
6152
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6153
+ DROP TABLE `foo`
6154
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6155
+ DROP TABLE `foo`
6156
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6157
+ DROP TABLE `foo`
6158
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6159
+ DROP TABLE `foo`
6160
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6161
+ DROP TABLE `foo`
6162
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6163
+ PRAGMA table_info('foo')
6164
+ DROP TABLE `foo`
6165
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6166
+ DROP TABLE `foo`
6167
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6168
+ DROP TABLE `foo`
6169
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6170
+ DROP TABLE `foo`
6171
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6172
+ DROP TABLE `foo`
6173
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6174
+ DROP TABLE `foo`
6175
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6176
+ DROP TABLE `foo`
6177
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6178
+ DROP TABLE `foo`
6179
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6180
+ INSERT INTO `foo` (`state`) VALUES (NULL)
6181
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6182
+ SELECT COUNT(*) FROM `foo` LIMIT 1
6183
+ DROP TABLE `foo`
6184
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6185
+ INSERT INTO `foo` (`state`) VALUES ('off')
6186
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6187
+ INSERT INTO `foo` (`state`) VALUES ('on')
6188
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6189
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
6190
+ DROP TABLE `foo`
6191
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6192
+ INSERT INTO `foo` (`state`) VALUES ('off')
6193
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6194
+ INSERT INTO `foo` (`state`) VALUES ('on')
6195
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6196
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
6197
+ DROP TABLE `foo`
6198
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6199
+ INSERT INTO `foo` (`state`) VALUES ('off')
6200
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6201
+ INSERT INTO `foo` (`state`) VALUES ('on')
6202
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6203
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
6204
+ DROP TABLE `foo`
6205
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6206
+ INSERT INTO `foo` (`state`) VALUES ('off')
6207
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6208
+ INSERT INTO `foo` (`state`) VALUES ('on')
6209
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6210
+ INSERT INTO `foo` (`state`) VALUES ('error')
6211
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
6212
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
6213
+ DROP TABLE `foo`
6214
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6215
+ INSERT INTO `foo` (`state`) VALUES (NULL)
6216
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6217
+ SELECT COUNT(*) FROM `foo` LIMIT 1
6218
+ DROP TABLE `foo`
6219
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6220
+ INSERT INTO `foo` (`state`) VALUES ('on')
6221
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6222
+ DROP TABLE `foo`
6223
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6224
+ INSERT INTO `foo` (`state`) VALUES ('on')
6225
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6226
+ DROP TABLE `foo`
6227
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6228
+ INSERT INTO `foo` (`state`) VALUES ('on')
6229
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6230
+ DROP TABLE `foo`
6231
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6232
+ INSERT INTO `foo` (`state`) VALUES ('on')
6233
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6234
+ DROP TABLE `foo`
6235
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6236
+ INSERT INTO `foo` (`state`) VALUES ('on')
6237
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6238
+ DROP TABLE `foo`
6239
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6240
+ INSERT INTO `foo` (`state`) VALUES ('on')
6241
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6242
+ DROP TABLE `foo`
6243
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6244
+ INSERT INTO `foo` (`state`) VALUES ('on')
6245
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6246
+ DROP TABLE `foo`
6247
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6248
+ DROP TABLE `foo`
6249
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6250
+ DROP TABLE `foo`
6251
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6252
+ DROP TABLE `foo`
6253
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6254
+ DROP TABLE `foo`
6255
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6256
+ PRAGMA table_info('foo')
6257
+ DROP TABLE `foo`
6258
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6259
+ DROP TABLE `foo`
6260
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6261
+ DROP TABLE `foo`
6262
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6263
+ DROP TABLE `foo`
6264
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6265
+ DROP TABLE `foo`
6266
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6267
+ DROP TABLE `foo`
6268
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6269
+ DROP TABLE `foo`
6270
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6271
+ DROP TABLE `foo`
6272
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6273
+ INSERT INTO `foo` (`state`) VALUES (NULL)
6274
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6275
+ SELECT COUNT(*) FROM `foo` LIMIT 1
6276
+ DROP TABLE `foo`
6277
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6278
+ INSERT INTO `foo` (`state`) VALUES ('off')
6279
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6280
+ INSERT INTO `foo` (`state`) VALUES ('on')
6281
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6282
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
6283
+ DROP TABLE `foo`
6284
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6285
+ INSERT INTO `foo` (`state`) VALUES ('off')
6286
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6287
+ INSERT INTO `foo` (`state`) VALUES ('on')
6288
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6289
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
6290
+ DROP TABLE `foo`
6291
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6292
+ INSERT INTO `foo` (`state`) VALUES ('off')
6293
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6294
+ INSERT INTO `foo` (`state`) VALUES ('on')
6295
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6296
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
6297
+ DROP TABLE `foo`
6298
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6299
+ INSERT INTO `foo` (`state`) VALUES ('off')
6300
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6301
+ INSERT INTO `foo` (`state`) VALUES ('on')
6302
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6303
+ INSERT INTO `foo` (`state`) VALUES ('error')
6304
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
6305
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
6306
+ DROP TABLE `foo`
6307
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6308
+ INSERT INTO `foo` (`state`) VALUES (NULL)
6309
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6310
+ SELECT COUNT(*) FROM `foo` LIMIT 1
6311
+ DROP TABLE `foo`
6312
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6313
+ INSERT INTO `foo` (`state`) VALUES ('on')
6314
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6315
+ DROP TABLE `foo`
6316
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6317
+ INSERT INTO `foo` (`state`) VALUES ('on')
6318
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6319
+ DROP TABLE `foo`
6320
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6321
+ INSERT INTO `foo` (`state`) VALUES ('on')
6322
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6323
+ DROP TABLE `foo`
6324
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6325
+ INSERT INTO `foo` (`state`) VALUES ('on')
6326
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6327
+ DROP TABLE `foo`
6328
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6329
+ INSERT INTO `foo` (`state`) VALUES ('on')
6330
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6331
+ DROP TABLE `foo`
6332
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6333
+ INSERT INTO `foo` (`state`) VALUES ('on')
6334
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6335
+ DROP TABLE `foo`
6336
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6337
+ INSERT INTO `foo` (`state`) VALUES ('on')
6338
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6339
+ DROP TABLE `foo`
6340
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6341
+ DROP TABLE `foo`
6342
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6343
+ DROP TABLE `foo`
6344
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6345
+ DROP TABLE `foo`
6346
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6347
+ DROP TABLE `foo`
6348
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6349
+ PRAGMA table_info('foo')
6350
+ DROP TABLE `foo`
6351
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6352
+ DROP TABLE `foo`
6353
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6354
+ DROP TABLE `foo`
6355
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6356
+ DROP TABLE `foo`
6357
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6358
+ DROP TABLE `foo`
6359
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6360
+ DROP TABLE `foo`
6361
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6362
+ DROP TABLE `foo`
6363
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6364
+ DROP TABLE `foo`
6365
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6366
+ INSERT INTO `foo` (`state`) VALUES (NULL)
6367
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6368
+ SELECT COUNT(*) FROM `foo` LIMIT 1
6369
+ DROP TABLE `foo`
6370
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6371
+ INSERT INTO `foo` (`state`) VALUES ('off')
6372
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6373
+ INSERT INTO `foo` (`state`) VALUES ('on')
6374
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6375
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
6376
+ DROP TABLE `foo`
6377
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6378
+ INSERT INTO `foo` (`state`) VALUES ('off')
6379
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6380
+ INSERT INTO `foo` (`state`) VALUES ('on')
6381
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6382
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
6383
+ DROP TABLE `foo`
6384
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6385
+ INSERT INTO `foo` (`state`) VALUES ('off')
6386
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6387
+ INSERT INTO `foo` (`state`) VALUES ('on')
6388
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6389
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
6390
+ DROP TABLE `foo`
6391
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6392
+ INSERT INTO `foo` (`state`) VALUES ('off')
6393
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6394
+ INSERT INTO `foo` (`state`) VALUES ('on')
6395
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6396
+ INSERT INTO `foo` (`state`) VALUES ('error')
6397
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
6398
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
6399
+ DROP TABLE `foo`
6400
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6401
+ INSERT INTO `foo` (`state`) VALUES (NULL)
6402
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6403
+ SELECT COUNT(*) FROM `foo` LIMIT 1
6404
+ DROP TABLE `foo`
6405
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6406
+ INSERT INTO `foo` (`state`) VALUES ('on')
6407
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6408
+ DROP TABLE `foo`
6409
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6410
+ INSERT INTO `foo` (`state`) VALUES ('on')
6411
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6412
+ DROP TABLE `foo`
6413
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6414
+ INSERT INTO `foo` (`state`) VALUES ('on')
6415
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6416
+ DROP TABLE `foo`
6417
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6418
+ INSERT INTO `foo` (`state`) VALUES ('on')
6419
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6420
+ DROP TABLE `foo`
6421
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6422
+ INSERT INTO `foo` (`state`) VALUES ('on')
6423
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6424
+ DROP TABLE `foo`
6425
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6426
+ INSERT INTO `foo` (`state`) VALUES ('on')
6427
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6428
+ DROP TABLE `foo`
6429
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6430
+ INSERT INTO `foo` (`state`) VALUES ('on')
6431
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6432
+ DROP TABLE `foo`
6433
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6434
+ DROP TABLE `foo`
6435
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6436
+ DROP TABLE `foo`
6437
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6438
+ DROP TABLE `foo`
6439
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6440
+ DROP TABLE `foo`
6441
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6442
+ PRAGMA table_info('foo')
6443
+ DROP TABLE `foo`
6444
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6445
+ DROP TABLE `foo`
6446
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6447
+ DROP TABLE `foo`
6448
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6449
+ DROP TABLE `foo`
6450
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6451
+ DROP TABLE `foo`
6452
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6453
+ DROP TABLE `foo`
6454
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6455
+ DROP TABLE `foo`
6456
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6457
+ DROP TABLE `foo`
6458
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6459
+ INSERT INTO `foo` (`state`) VALUES (NULL)
6460
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6461
+ SELECT COUNT(*) FROM `foo` LIMIT 1
6462
+ DROP TABLE `foo`
6463
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6464
+ INSERT INTO `foo` (`state`) VALUES ('off')
6465
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6466
+ INSERT INTO `foo` (`state`) VALUES ('on')
6467
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6468
+ SELECT * FROM `foo` WHERE (`state` IN ('off'))
6469
+ DROP TABLE `foo`
6470
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6471
+ INSERT INTO `foo` (`state`) VALUES ('off')
6472
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6473
+ INSERT INTO `foo` (`state`) VALUES ('on')
6474
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6475
+ SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
6476
+ DROP TABLE `foo`
6477
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6478
+ INSERT INTO `foo` (`state`) VALUES ('off')
6479
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6480
+ INSERT INTO `foo` (`state`) VALUES ('on')
6481
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6482
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
6483
+ DROP TABLE `foo`
6484
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6485
+ INSERT INTO `foo` (`state`) VALUES ('off')
6486
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6487
+ INSERT INTO `foo` (`state`) VALUES ('on')
6488
+ SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
6489
+ INSERT INTO `foo` (`state`) VALUES ('error')
6490
+ SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
6491
+ SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
6492
+ DROP TABLE `foo`
6493
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6494
+ INSERT INTO `foo` (`state`) VALUES (NULL)
6495
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6496
+ SELECT COUNT(*) FROM `foo` LIMIT 1
6497
+ DROP TABLE `foo`
6498
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6499
+ INSERT INTO `foo` (`state`) VALUES ('on')
6500
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6501
+ DROP TABLE `foo`
6502
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6503
+ INSERT INTO `foo` (`state`) VALUES ('on')
6504
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6505
+ DROP TABLE `foo`
6506
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6507
+ INSERT INTO `foo` (`state`) VALUES ('on')
6508
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6509
+ DROP TABLE `foo`
6510
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6511
+ INSERT INTO `foo` (`state`) VALUES ('on')
6512
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6513
+ DROP TABLE `foo`
6514
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6515
+ INSERT INTO `foo` (`state`) VALUES ('on')
6516
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6517
+ DROP TABLE `foo`
6518
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6519
+ INSERT INTO `foo` (`state`) VALUES ('on')
6520
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6521
+ DROP TABLE `foo`
6522
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6523
+ INSERT INTO `foo` (`state`) VALUES ('on')
6524
+ SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
6525
+ DROP TABLE `foo`
6526
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6527
+ DROP TABLE `foo`
6528
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6529
+ DROP TABLE `foo`
6530
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
6531
+ DROP TABLE `foo`
6532
+ CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)