state_machine 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +5 -0
- data/README.rdoc +3 -0
- data/Rakefile +1 -1
- data/lib/state_machine/callback.rb +4 -2
- data/lib/state_machine/integrations/data_mapper.rb +14 -1
- data/test/active_record.log +7826 -0
- data/test/data_mapper.log +2735 -0
- data/test/sequel.log +1204 -0
- data/test/unit/callback_test.rb +16 -0
- data/test/unit/integrations/active_record_test.rb +25 -0
- data/test/unit/integrations/data_mapper_test.rb +145 -116
- data/test/unit/integrations/sequel_test.rb +25 -0
- metadata +1 -1
data/test/sequel.log
CHANGED
@@ -11738,3 +11738,1207 @@ DROP TABLE `foo`
|
|
11738
11738
|
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11739
11739
|
DROP TABLE `foo`
|
11740
11740
|
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11741
|
+
DROP TABLE `foo`
|
11742
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11743
|
+
PRAGMA table_info('foo')
|
11744
|
+
DROP TABLE `foo`
|
11745
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11746
|
+
DROP TABLE `foo`
|
11747
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11748
|
+
DROP TABLE `foo`
|
11749
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11750
|
+
DROP TABLE `foo`
|
11751
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11752
|
+
DROP TABLE `foo`
|
11753
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11754
|
+
DROP TABLE `foo`
|
11755
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11756
|
+
DROP TABLE `foo`
|
11757
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11758
|
+
DROP TABLE `foo`
|
11759
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11760
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
11761
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11762
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
11763
|
+
DROP TABLE `foo`
|
11764
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11765
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
11766
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11767
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11768
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
11769
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off'))
|
11770
|
+
DROP TABLE `foo`
|
11771
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11772
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
11773
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11774
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11775
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
11776
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
|
11777
|
+
DROP TABLE `foo`
|
11778
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11779
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
11780
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11781
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11782
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
11783
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
|
11784
|
+
DROP TABLE `foo`
|
11785
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11786
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
11787
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11788
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11789
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
11790
|
+
INSERT INTO `foo` (`state`) VALUES ('error')
|
11791
|
+
SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
|
11792
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
|
11793
|
+
DROP TABLE `foo`
|
11794
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11795
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
11796
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11797
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
11798
|
+
DROP TABLE `foo`
|
11799
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11800
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11801
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11802
|
+
DROP TABLE `foo`
|
11803
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11804
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11805
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11806
|
+
DROP TABLE `foo`
|
11807
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11808
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11809
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11810
|
+
DROP TABLE `foo`
|
11811
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11812
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11813
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11814
|
+
DROP TABLE `foo`
|
11815
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11816
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11817
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11818
|
+
DROP TABLE `foo`
|
11819
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11820
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11821
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11822
|
+
DROP TABLE `foo`
|
11823
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11824
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11825
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11826
|
+
DROP TABLE `foo`
|
11827
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11828
|
+
DROP TABLE `foo`
|
11829
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11830
|
+
DROP TABLE `foo`
|
11831
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11832
|
+
DROP TABLE `foo`
|
11833
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11834
|
+
I, [2008-12-28T18:21:26.039041 #16101] INFO -- : DROP TABLE `foo`
|
11835
|
+
I, [2008-12-28T18:21:26.043624 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11836
|
+
I, [2008-12-28T18:21:26.045204 #16101] INFO -- : PRAGMA table_info('foo')
|
11837
|
+
I, [2008-12-28T18:21:26.047330 #16101] INFO -- : DROP TABLE `foo`
|
11838
|
+
I, [2008-12-28T18:21:26.047889 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11839
|
+
I, [2008-12-28T18:21:26.049205 #16101] INFO -- : DROP TABLE `foo`
|
11840
|
+
I, [2008-12-28T18:21:26.049828 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11841
|
+
I, [2008-12-28T18:21:26.051211 #16101] INFO -- : DROP TABLE `foo`
|
11842
|
+
I, [2008-12-28T18:21:26.051779 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11843
|
+
I, [2008-12-28T18:21:26.052956 #16101] INFO -- : DROP TABLE `foo`
|
11844
|
+
I, [2008-12-28T18:21:26.053479 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11845
|
+
I, [2008-12-28T18:21:26.054765 #16101] INFO -- : DROP TABLE `foo`
|
11846
|
+
I, [2008-12-28T18:21:26.055407 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11847
|
+
I, [2008-12-28T18:21:26.056685 #16101] INFO -- : DROP TABLE `foo`
|
11848
|
+
I, [2008-12-28T18:21:26.057175 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11849
|
+
I, [2008-12-28T18:21:26.058948 #16101] INFO -- : DROP TABLE `foo`
|
11850
|
+
I, [2008-12-28T18:21:26.059805 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11851
|
+
I, [2008-12-28T18:21:26.061605 #16101] INFO -- : DROP TABLE `foo`
|
11852
|
+
I, [2008-12-28T18:21:26.062096 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11853
|
+
I, [2008-12-28T18:21:26.064429 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES (NULL)
|
11854
|
+
I, [2008-12-28T18:21:26.065075 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11855
|
+
I, [2008-12-28T18:21:26.065733 #16101] INFO -- : SELECT COUNT(*) FROM `foo` LIMIT 1
|
11856
|
+
I, [2008-12-28T18:21:26.067876 #16101] INFO -- : DROP TABLE `foo`
|
11857
|
+
I, [2008-12-28T18:21:26.068839 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11858
|
+
I, [2008-12-28T18:21:26.070871 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('off')
|
11859
|
+
I, [2008-12-28T18:21:26.071676 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11860
|
+
I, [2008-12-28T18:21:26.072841 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('on')
|
11861
|
+
I, [2008-12-28T18:21:26.073518 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
11862
|
+
I, [2008-12-28T18:21:26.074289 #16101] INFO -- : SELECT * FROM `foo` WHERE (`state` IN ('off'))
|
11863
|
+
I, [2008-12-28T18:21:26.075214 #16101] INFO -- : DROP TABLE `foo`
|
11864
|
+
I, [2008-12-28T18:21:26.075832 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11865
|
+
I, [2008-12-28T18:21:26.077629 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('off')
|
11866
|
+
I, [2008-12-28T18:21:26.078325 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11867
|
+
I, [2008-12-28T18:21:26.079826 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('on')
|
11868
|
+
I, [2008-12-28T18:21:26.080507 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
11869
|
+
I, [2008-12-28T18:21:26.081368 #16101] INFO -- : SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
|
11870
|
+
I, [2008-12-28T18:21:26.082389 #16101] INFO -- : DROP TABLE `foo`
|
11871
|
+
I, [2008-12-28T18:21:26.082996 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11872
|
+
I, [2008-12-28T18:21:26.085133 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('off')
|
11873
|
+
I, [2008-12-28T18:21:26.085959 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11874
|
+
I, [2008-12-28T18:21:26.087434 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('on')
|
11875
|
+
I, [2008-12-28T18:21:26.088253 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
11876
|
+
I, [2008-12-28T18:21:26.089095 #16101] INFO -- : SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
|
11877
|
+
I, [2008-12-28T18:21:26.089890 #16101] INFO -- : DROP TABLE `foo`
|
11878
|
+
I, [2008-12-28T18:21:26.090413 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11879
|
+
I, [2008-12-28T18:21:26.092373 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('off')
|
11880
|
+
I, [2008-12-28T18:21:26.093088 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11881
|
+
I, [2008-12-28T18:21:26.094190 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('on')
|
11882
|
+
I, [2008-12-28T18:21:26.094775 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
11883
|
+
I, [2008-12-28T18:21:26.095866 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('error')
|
11884
|
+
I, [2008-12-28T18:21:26.096426 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
|
11885
|
+
I, [2008-12-28T18:21:26.097125 #16101] INFO -- : SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
|
11886
|
+
I, [2008-12-28T18:21:26.097911 #16101] INFO -- : DROP TABLE `foo`
|
11887
|
+
I, [2008-12-28T18:21:26.098439 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11888
|
+
I, [2008-12-28T18:21:26.101176 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES (NULL)
|
11889
|
+
I, [2008-12-28T18:21:26.101839 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11890
|
+
I, [2008-12-28T18:21:26.102564 #16101] INFO -- : SELECT COUNT(*) FROM `foo` LIMIT 1
|
11891
|
+
I, [2008-12-28T18:21:26.104006 #16101] INFO -- : DROP TABLE `foo`
|
11892
|
+
I, [2008-12-28T18:21:26.104528 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11893
|
+
I, [2008-12-28T18:21:26.106502 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('on')
|
11894
|
+
I, [2008-12-28T18:21:26.107109 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11895
|
+
I, [2008-12-28T18:21:26.108126 #16101] INFO -- : DROP TABLE `foo`
|
11896
|
+
I, [2008-12-28T18:21:26.108593 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11897
|
+
I, [2008-12-28T18:21:26.110658 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('on')
|
11898
|
+
I, [2008-12-28T18:21:26.111348 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11899
|
+
I, [2008-12-28T18:21:26.112036 #16101] INFO -- : DROP TABLE `foo`
|
11900
|
+
I, [2008-12-28T18:21:26.112554 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11901
|
+
I, [2008-12-28T18:21:26.114585 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('on')
|
11902
|
+
I, [2008-12-28T18:21:26.115251 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11903
|
+
I, [2008-12-28T18:21:26.115994 #16101] INFO -- : DROP TABLE `foo`
|
11904
|
+
I, [2008-12-28T18:21:26.116524 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11905
|
+
I, [2008-12-28T18:21:26.118575 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('on')
|
11906
|
+
I, [2008-12-28T18:21:26.119660 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11907
|
+
I, [2008-12-28T18:21:26.120439 #16101] INFO -- : DROP TABLE `foo`
|
11908
|
+
I, [2008-12-28T18:21:26.120910 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11909
|
+
I, [2008-12-28T18:21:26.122939 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('on')
|
11910
|
+
I, [2008-12-28T18:21:26.123754 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11911
|
+
I, [2008-12-28T18:21:26.124500 #16101] INFO -- : DROP TABLE `foo`
|
11912
|
+
I, [2008-12-28T18:21:26.124974 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11913
|
+
I, [2008-12-28T18:21:26.126910 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('on')
|
11914
|
+
I, [2008-12-28T18:21:26.127765 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11915
|
+
I, [2008-12-28T18:21:26.128522 #16101] INFO -- : DROP TABLE `foo`
|
11916
|
+
I, [2008-12-28T18:21:26.129067 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11917
|
+
I, [2008-12-28T18:21:26.131255 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('on')
|
11918
|
+
I, [2008-12-28T18:21:26.131932 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11919
|
+
I, [2008-12-28T18:21:26.132702 #16101] INFO -- : DROP TABLE `foo`
|
11920
|
+
I, [2008-12-28T18:21:26.133169 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11921
|
+
I, [2008-12-28T18:21:26.135244 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('on')
|
11922
|
+
I, [2008-12-28T18:21:26.135847 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11923
|
+
I, [2008-12-28T18:21:26.136528 #16101] INFO -- : DROP TABLE `foo`
|
11924
|
+
I, [2008-12-28T18:21:26.137259 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11925
|
+
I, [2008-12-28T18:21:26.139676 #16101] INFO -- : INSERT INTO `foo` (`state`) VALUES ('on')
|
11926
|
+
I, [2008-12-28T18:21:26.140471 #16101] INFO -- : SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11927
|
+
I, [2008-12-28T18:21:26.141212 #16101] INFO -- : DROP TABLE `foo`
|
11928
|
+
I, [2008-12-28T18:21:26.141697 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11929
|
+
I, [2008-12-28T18:21:26.143573 #16101] INFO -- : DROP TABLE `foo`
|
11930
|
+
I, [2008-12-28T18:21:26.144151 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11931
|
+
I, [2008-12-28T18:21:26.145906 #16101] INFO -- : DROP TABLE `foo`
|
11932
|
+
I, [2008-12-28T18:21:26.146397 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11933
|
+
I, [2008-12-28T18:21:26.148319 #16101] INFO -- : DROP TABLE `foo`
|
11934
|
+
I, [2008-12-28T18:21:26.148859 #16101] INFO -- : CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11935
|
+
DROP TABLE `foo`
|
11936
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11937
|
+
PRAGMA table_info('foo')
|
11938
|
+
DROP TABLE `foo`
|
11939
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11940
|
+
DROP TABLE `foo`
|
11941
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11942
|
+
DROP TABLE `foo`
|
11943
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11944
|
+
DROP TABLE `foo`
|
11945
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11946
|
+
DROP TABLE `foo`
|
11947
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11948
|
+
DROP TABLE `foo`
|
11949
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11950
|
+
DROP TABLE `foo`
|
11951
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11952
|
+
DROP TABLE `foo`
|
11953
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11954
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
11955
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11956
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
11957
|
+
DROP TABLE `foo`
|
11958
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11959
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
11960
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11961
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11962
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
11963
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off'))
|
11964
|
+
DROP TABLE `foo`
|
11965
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11966
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
11967
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11968
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11969
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
11970
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
|
11971
|
+
DROP TABLE `foo`
|
11972
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11973
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
11974
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11975
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11976
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
11977
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
|
11978
|
+
DROP TABLE `foo`
|
11979
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11980
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
11981
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11982
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11983
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
11984
|
+
INSERT INTO `foo` (`state`) VALUES ('error')
|
11985
|
+
SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
|
11986
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
|
11987
|
+
DROP TABLE `foo`
|
11988
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11989
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
11990
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11991
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
11992
|
+
DROP TABLE `foo`
|
11993
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11994
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11995
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
11996
|
+
DROP TABLE `foo`
|
11997
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
11998
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
11999
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12000
|
+
DROP TABLE `foo`
|
12001
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12002
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12003
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12004
|
+
DROP TABLE `foo`
|
12005
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12006
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12007
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12008
|
+
DROP TABLE `foo`
|
12009
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12010
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12011
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12012
|
+
DROP TABLE `foo`
|
12013
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12014
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12015
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12016
|
+
DROP TABLE `foo`
|
12017
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12018
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12019
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12020
|
+
DROP TABLE `foo`
|
12021
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12022
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12023
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12024
|
+
DROP TABLE `foo`
|
12025
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12026
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12027
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12028
|
+
DROP TABLE `foo`
|
12029
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12030
|
+
DROP TABLE `foo`
|
12031
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12032
|
+
DROP TABLE `foo`
|
12033
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12034
|
+
DROP TABLE `foo`
|
12035
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12036
|
+
DROP TABLE `foo`
|
12037
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12038
|
+
PRAGMA table_info('foo')
|
12039
|
+
DROP TABLE `foo`
|
12040
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12041
|
+
DROP TABLE `foo`
|
12042
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12043
|
+
DROP TABLE `foo`
|
12044
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12045
|
+
DROP TABLE `foo`
|
12046
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12047
|
+
DROP TABLE `foo`
|
12048
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12049
|
+
DROP TABLE `foo`
|
12050
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12051
|
+
DROP TABLE `foo`
|
12052
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12053
|
+
DROP TABLE `foo`
|
12054
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12055
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12056
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12057
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12058
|
+
DROP TABLE `foo`
|
12059
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12060
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12061
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12062
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12063
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12064
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off'))
|
12065
|
+
DROP TABLE `foo`
|
12066
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12067
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12068
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12069
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12070
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12071
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
|
12072
|
+
DROP TABLE `foo`
|
12073
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12074
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12075
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12076
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12077
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12078
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
|
12079
|
+
DROP TABLE `foo`
|
12080
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12081
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12082
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12083
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12084
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12085
|
+
INSERT INTO `foo` (`state`) VALUES ('error')
|
12086
|
+
SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
|
12087
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
|
12088
|
+
DROP TABLE `foo`
|
12089
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12090
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12091
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12092
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12093
|
+
DROP TABLE `foo`
|
12094
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12095
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12096
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12097
|
+
DROP TABLE `foo`
|
12098
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12099
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12100
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12101
|
+
DROP TABLE `foo`
|
12102
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12103
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12104
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12105
|
+
DROP TABLE `foo`
|
12106
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12107
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12108
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12109
|
+
DROP TABLE `foo`
|
12110
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12111
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12112
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12113
|
+
DROP TABLE `foo`
|
12114
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12115
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12116
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12117
|
+
DROP TABLE `foo`
|
12118
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12119
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12120
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12121
|
+
DROP TABLE `foo`
|
12122
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12123
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12124
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12125
|
+
DROP TABLE `foo`
|
12126
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12127
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12128
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12129
|
+
DROP TABLE `foo`
|
12130
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12131
|
+
DROP TABLE `foo`
|
12132
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12133
|
+
DROP TABLE `foo`
|
12134
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12135
|
+
DROP TABLE `foo`
|
12136
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12137
|
+
DROP TABLE `foo`
|
12138
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12139
|
+
PRAGMA table_info('foo')
|
12140
|
+
DROP TABLE `foo`
|
12141
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12142
|
+
DROP TABLE `foo`
|
12143
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12144
|
+
DROP TABLE `foo`
|
12145
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12146
|
+
DROP TABLE `foo`
|
12147
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12148
|
+
DROP TABLE `foo`
|
12149
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12150
|
+
DROP TABLE `foo`
|
12151
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12152
|
+
DROP TABLE `foo`
|
12153
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12154
|
+
DROP TABLE `foo`
|
12155
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12156
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12157
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12158
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12159
|
+
DROP TABLE `foo`
|
12160
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12161
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12162
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12163
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12164
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12165
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off'))
|
12166
|
+
DROP TABLE `foo`
|
12167
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12168
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12169
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12170
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12171
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12172
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
|
12173
|
+
DROP TABLE `foo`
|
12174
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12175
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12176
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12177
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12178
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12179
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
|
12180
|
+
DROP TABLE `foo`
|
12181
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12182
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12183
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12184
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12185
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12186
|
+
INSERT INTO `foo` (`state`) VALUES ('error')
|
12187
|
+
SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
|
12188
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
|
12189
|
+
DROP TABLE `foo`
|
12190
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12191
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12192
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12193
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12194
|
+
DROP TABLE `foo`
|
12195
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12196
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12197
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12198
|
+
DROP TABLE `foo`
|
12199
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12200
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12201
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12202
|
+
DROP TABLE `foo`
|
12203
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12204
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12205
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12206
|
+
DROP TABLE `foo`
|
12207
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12208
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12209
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12210
|
+
DROP TABLE `foo`
|
12211
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12212
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12213
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12214
|
+
DROP TABLE `foo`
|
12215
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12216
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12217
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12218
|
+
DROP TABLE `foo`
|
12219
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12220
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12221
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12222
|
+
DROP TABLE `foo`
|
12223
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12224
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12225
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12226
|
+
DROP TABLE `foo`
|
12227
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12228
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12229
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12230
|
+
DROP TABLE `foo`
|
12231
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12232
|
+
DROP TABLE `foo`
|
12233
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12234
|
+
DROP TABLE `foo`
|
12235
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12236
|
+
DROP TABLE `foo`
|
12237
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12238
|
+
DROP TABLE `foo`
|
12239
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12240
|
+
PRAGMA table_info('foo')
|
12241
|
+
DROP TABLE `foo`
|
12242
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12243
|
+
DROP TABLE `foo`
|
12244
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12245
|
+
DROP TABLE `foo`
|
12246
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12247
|
+
DROP TABLE `foo`
|
12248
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12249
|
+
DROP TABLE `foo`
|
12250
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12251
|
+
DROP TABLE `foo`
|
12252
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12253
|
+
DROP TABLE `foo`
|
12254
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12255
|
+
DROP TABLE `foo`
|
12256
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12257
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12258
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12259
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12260
|
+
DROP TABLE `foo`
|
12261
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12262
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12263
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12264
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12265
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12266
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off'))
|
12267
|
+
DROP TABLE `foo`
|
12268
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12269
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12270
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12271
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12272
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12273
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
|
12274
|
+
DROP TABLE `foo`
|
12275
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12276
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12277
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12278
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12279
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12280
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
|
12281
|
+
DROP TABLE `foo`
|
12282
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12283
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12284
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12285
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12286
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12287
|
+
INSERT INTO `foo` (`state`) VALUES ('error')
|
12288
|
+
SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
|
12289
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
|
12290
|
+
DROP TABLE `foo`
|
12291
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12292
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12293
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12294
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12295
|
+
DROP TABLE `foo`
|
12296
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12297
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12298
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12299
|
+
DROP TABLE `foo`
|
12300
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12301
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12302
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12303
|
+
DROP TABLE `foo`
|
12304
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12305
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12306
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12307
|
+
DROP TABLE `foo`
|
12308
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12309
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12310
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12311
|
+
DROP TABLE `foo`
|
12312
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12313
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12314
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12315
|
+
DROP TABLE `foo`
|
12316
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12317
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12318
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12319
|
+
DROP TABLE `foo`
|
12320
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12321
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12322
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12323
|
+
DROP TABLE `foo`
|
12324
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12325
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12326
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12327
|
+
DROP TABLE `foo`
|
12328
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12329
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12330
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12331
|
+
DROP TABLE `foo`
|
12332
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12333
|
+
DROP TABLE `foo`
|
12334
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12335
|
+
DROP TABLE `foo`
|
12336
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12337
|
+
DROP TABLE `foo`
|
12338
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12339
|
+
DROP TABLE `foo`
|
12340
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12341
|
+
PRAGMA table_info('foo')
|
12342
|
+
DROP TABLE `foo`
|
12343
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12344
|
+
DROP TABLE `foo`
|
12345
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12346
|
+
DROP TABLE `foo`
|
12347
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12348
|
+
DROP TABLE `foo`
|
12349
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12350
|
+
DROP TABLE `foo`
|
12351
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12352
|
+
DROP TABLE `foo`
|
12353
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12354
|
+
DROP TABLE `foo`
|
12355
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12356
|
+
DROP TABLE `foo`
|
12357
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12358
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12359
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12360
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12361
|
+
DROP TABLE `foo`
|
12362
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12363
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12364
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12365
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12366
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12367
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off'))
|
12368
|
+
DROP TABLE `foo`
|
12369
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12370
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12371
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12372
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12373
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12374
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
|
12375
|
+
DROP TABLE `foo`
|
12376
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12377
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12378
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12379
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12380
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12381
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
|
12382
|
+
DROP TABLE `foo`
|
12383
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12384
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12385
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12386
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12387
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12388
|
+
INSERT INTO `foo` (`state`) VALUES ('error')
|
12389
|
+
SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
|
12390
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
|
12391
|
+
DROP TABLE `foo`
|
12392
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12393
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12394
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12395
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12396
|
+
DROP TABLE `foo`
|
12397
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12398
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12399
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12400
|
+
DROP TABLE `foo`
|
12401
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12402
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12403
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12404
|
+
DROP TABLE `foo`
|
12405
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12406
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12407
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12408
|
+
DROP TABLE `foo`
|
12409
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12410
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12411
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12412
|
+
DROP TABLE `foo`
|
12413
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12414
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12415
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12416
|
+
DROP TABLE `foo`
|
12417
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12418
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12419
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12420
|
+
DROP TABLE `foo`
|
12421
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12422
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12423
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12424
|
+
DROP TABLE `foo`
|
12425
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12426
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12427
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12428
|
+
DROP TABLE `foo`
|
12429
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12430
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12431
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12432
|
+
DROP TABLE `foo`
|
12433
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12434
|
+
DROP TABLE `foo`
|
12435
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12436
|
+
DROP TABLE `foo`
|
12437
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12438
|
+
DROP TABLE `foo`
|
12439
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12440
|
+
DROP TABLE `foo`
|
12441
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12442
|
+
PRAGMA table_info('foo')
|
12443
|
+
DROP TABLE `foo`
|
12444
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12445
|
+
DROP TABLE `foo`
|
12446
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12447
|
+
DROP TABLE `foo`
|
12448
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12449
|
+
DROP TABLE `foo`
|
12450
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12451
|
+
DROP TABLE `foo`
|
12452
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12453
|
+
DROP TABLE `foo`
|
12454
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12455
|
+
DROP TABLE `foo`
|
12456
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12457
|
+
DROP TABLE `foo`
|
12458
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12459
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12460
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12461
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12462
|
+
DROP TABLE `foo`
|
12463
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12464
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12465
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12466
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12467
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12468
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off'))
|
12469
|
+
DROP TABLE `foo`
|
12470
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12471
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12472
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12473
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12474
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12475
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
|
12476
|
+
DROP TABLE `foo`
|
12477
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12478
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12479
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12480
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12481
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12482
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
|
12483
|
+
DROP TABLE `foo`
|
12484
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12485
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12486
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12487
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12488
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12489
|
+
INSERT INTO `foo` (`state`) VALUES ('error')
|
12490
|
+
SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
|
12491
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
|
12492
|
+
DROP TABLE `foo`
|
12493
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12494
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12495
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12496
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12497
|
+
DROP TABLE `foo`
|
12498
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12499
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12500
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12501
|
+
DROP TABLE `foo`
|
12502
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12503
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12504
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12505
|
+
DROP TABLE `foo`
|
12506
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12507
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12508
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12509
|
+
DROP TABLE `foo`
|
12510
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12511
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12512
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12513
|
+
DROP TABLE `foo`
|
12514
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12515
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12516
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12517
|
+
DROP TABLE `foo`
|
12518
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12519
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12520
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12521
|
+
DROP TABLE `foo`
|
12522
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12523
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12524
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12525
|
+
DROP TABLE `foo`
|
12526
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12527
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12528
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12529
|
+
DROP TABLE `foo`
|
12530
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12531
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12532
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12533
|
+
DROP TABLE `foo`
|
12534
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12535
|
+
DROP TABLE `foo`
|
12536
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12537
|
+
DROP TABLE `foo`
|
12538
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12539
|
+
DROP TABLE `foo`
|
12540
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12541
|
+
DROP TABLE `foo`
|
12542
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12543
|
+
PRAGMA table_info('foo')
|
12544
|
+
DROP TABLE `foo`
|
12545
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12546
|
+
DROP TABLE `foo`
|
12547
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12548
|
+
DROP TABLE `foo`
|
12549
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12550
|
+
DROP TABLE `foo`
|
12551
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12552
|
+
DROP TABLE `foo`
|
12553
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12554
|
+
DROP TABLE `foo`
|
12555
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12556
|
+
DROP TABLE `foo`
|
12557
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12558
|
+
DROP TABLE `foo`
|
12559
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12560
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12561
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12562
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12563
|
+
DROP TABLE `foo`
|
12564
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12565
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12566
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12567
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12568
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12569
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off'))
|
12570
|
+
DROP TABLE `foo`
|
12571
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12572
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12573
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12574
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12575
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12576
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
|
12577
|
+
DROP TABLE `foo`
|
12578
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12579
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12580
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12581
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12582
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12583
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
|
12584
|
+
DROP TABLE `foo`
|
12585
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12586
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12587
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12588
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12589
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12590
|
+
INSERT INTO `foo` (`state`) VALUES ('error')
|
12591
|
+
SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
|
12592
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
|
12593
|
+
DROP TABLE `foo`
|
12594
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12595
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12596
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12597
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12598
|
+
DROP TABLE `foo`
|
12599
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12600
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12601
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12602
|
+
DROP TABLE `foo`
|
12603
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12604
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12605
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12606
|
+
DROP TABLE `foo`
|
12607
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12608
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12609
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12610
|
+
DROP TABLE `foo`
|
12611
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12612
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12613
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12614
|
+
DROP TABLE `foo`
|
12615
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12616
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12617
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12618
|
+
DROP TABLE `foo`
|
12619
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12620
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12621
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12622
|
+
DROP TABLE `foo`
|
12623
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12624
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12625
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12626
|
+
DROP TABLE `foo`
|
12627
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12628
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12629
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12630
|
+
DROP TABLE `foo`
|
12631
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12632
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12633
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12634
|
+
DROP TABLE `foo`
|
12635
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12636
|
+
DROP TABLE `foo`
|
12637
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12638
|
+
DROP TABLE `foo`
|
12639
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12640
|
+
DROP TABLE `foo`
|
12641
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12642
|
+
DROP TABLE `foo`
|
12643
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12644
|
+
PRAGMA table_info('foo')
|
12645
|
+
DROP TABLE `foo`
|
12646
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12647
|
+
DROP TABLE `foo`
|
12648
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12649
|
+
DROP TABLE `foo`
|
12650
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12651
|
+
DROP TABLE `foo`
|
12652
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12653
|
+
DROP TABLE `foo`
|
12654
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12655
|
+
DROP TABLE `foo`
|
12656
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12657
|
+
DROP TABLE `foo`
|
12658
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12659
|
+
DROP TABLE `foo`
|
12660
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12661
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12662
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12663
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12664
|
+
DROP TABLE `foo`
|
12665
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12666
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12667
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12668
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12669
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12670
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off'))
|
12671
|
+
DROP TABLE `foo`
|
12672
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12673
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12674
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12675
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12676
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12677
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
|
12678
|
+
DROP TABLE `foo`
|
12679
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12680
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12681
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12682
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12683
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12684
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
|
12685
|
+
DROP TABLE `foo`
|
12686
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12687
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12688
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12689
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12690
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12691
|
+
INSERT INTO `foo` (`state`) VALUES ('error')
|
12692
|
+
SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
|
12693
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
|
12694
|
+
DROP TABLE `foo`
|
12695
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12696
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12697
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12698
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12699
|
+
DROP TABLE `foo`
|
12700
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12701
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12702
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12703
|
+
DROP TABLE `foo`
|
12704
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12705
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12706
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12707
|
+
DROP TABLE `foo`
|
12708
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12709
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12710
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12711
|
+
DROP TABLE `foo`
|
12712
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12713
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12714
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12715
|
+
DROP TABLE `foo`
|
12716
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12717
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12718
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12719
|
+
DROP TABLE `foo`
|
12720
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12721
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12722
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12723
|
+
DROP TABLE `foo`
|
12724
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12725
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12726
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12727
|
+
DROP TABLE `foo`
|
12728
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12729
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12730
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12731
|
+
DROP TABLE `foo`
|
12732
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12733
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12734
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12735
|
+
DROP TABLE `foo`
|
12736
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12737
|
+
DROP TABLE `foo`
|
12738
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12739
|
+
DROP TABLE `foo`
|
12740
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12741
|
+
DROP TABLE `foo`
|
12742
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12743
|
+
DROP TABLE `foo`
|
12744
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12745
|
+
PRAGMA table_info('foo')
|
12746
|
+
DROP TABLE `foo`
|
12747
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12748
|
+
DROP TABLE `foo`
|
12749
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12750
|
+
DROP TABLE `foo`
|
12751
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12752
|
+
DROP TABLE `foo`
|
12753
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12754
|
+
DROP TABLE `foo`
|
12755
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12756
|
+
DROP TABLE `foo`
|
12757
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12758
|
+
DROP TABLE `foo`
|
12759
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12760
|
+
DROP TABLE `foo`
|
12761
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12762
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12763
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12764
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12765
|
+
DROP TABLE `foo`
|
12766
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12767
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12768
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12769
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12770
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12771
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off'))
|
12772
|
+
DROP TABLE `foo`
|
12773
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12774
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12775
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12776
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12777
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12778
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
|
12779
|
+
DROP TABLE `foo`
|
12780
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12781
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12782
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12783
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12784
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12785
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
|
12786
|
+
DROP TABLE `foo`
|
12787
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12788
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12789
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12790
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12791
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12792
|
+
INSERT INTO `foo` (`state`) VALUES ('error')
|
12793
|
+
SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
|
12794
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
|
12795
|
+
DROP TABLE `foo`
|
12796
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12797
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12798
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12799
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12800
|
+
DROP TABLE `foo`
|
12801
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12802
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12803
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12804
|
+
DROP TABLE `foo`
|
12805
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12806
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12807
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12808
|
+
DROP TABLE `foo`
|
12809
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12810
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12811
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12812
|
+
DROP TABLE `foo`
|
12813
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12814
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12815
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12816
|
+
DROP TABLE `foo`
|
12817
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12818
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12819
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12820
|
+
DROP TABLE `foo`
|
12821
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12822
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12823
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12824
|
+
DROP TABLE `foo`
|
12825
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12826
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12827
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12828
|
+
DROP TABLE `foo`
|
12829
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12830
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12831
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12832
|
+
DROP TABLE `foo`
|
12833
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12834
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12835
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12836
|
+
DROP TABLE `foo`
|
12837
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12838
|
+
DROP TABLE `foo`
|
12839
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12840
|
+
DROP TABLE `foo`
|
12841
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12842
|
+
DROP TABLE `foo`
|
12843
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12844
|
+
DROP TABLE `foo`
|
12845
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12846
|
+
PRAGMA table_info('foo')
|
12847
|
+
DROP TABLE `foo`
|
12848
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12849
|
+
DROP TABLE `foo`
|
12850
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12851
|
+
DROP TABLE `foo`
|
12852
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12853
|
+
DROP TABLE `foo`
|
12854
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12855
|
+
DROP TABLE `foo`
|
12856
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12857
|
+
DROP TABLE `foo`
|
12858
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12859
|
+
DROP TABLE `foo`
|
12860
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12861
|
+
DROP TABLE `foo`
|
12862
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12863
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12864
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12865
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12866
|
+
DROP TABLE `foo`
|
12867
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12868
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12869
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12870
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12871
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12872
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off'))
|
12873
|
+
DROP TABLE `foo`
|
12874
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12875
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12876
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12877
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12878
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12879
|
+
SELECT * FROM `foo` WHERE (`state` IN ('off', 'on'))
|
12880
|
+
DROP TABLE `foo`
|
12881
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12882
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12883
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12884
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12885
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12886
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('on'))
|
12887
|
+
DROP TABLE `foo`
|
12888
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12889
|
+
INSERT INTO `foo` (`state`) VALUES ('off')
|
12890
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12891
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12892
|
+
SELECT * FROM `foo` WHERE (`id` = 2) LIMIT 1
|
12893
|
+
INSERT INTO `foo` (`state`) VALUES ('error')
|
12894
|
+
SELECT * FROM `foo` WHERE (`id` = 3) LIMIT 1
|
12895
|
+
SELECT * FROM `foo` WHERE (`state` NOT IN ('error'))
|
12896
|
+
DROP TABLE `foo`
|
12897
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12898
|
+
INSERT INTO `foo` (`state`) VALUES (NULL)
|
12899
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12900
|
+
SELECT COUNT(*) FROM `foo` LIMIT 1
|
12901
|
+
DROP TABLE `foo`
|
12902
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12903
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12904
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12905
|
+
DROP TABLE `foo`
|
12906
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12907
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12908
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12909
|
+
DROP TABLE `foo`
|
12910
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12911
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12912
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12913
|
+
DROP TABLE `foo`
|
12914
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12915
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12916
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12917
|
+
DROP TABLE `foo`
|
12918
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12919
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12920
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12921
|
+
DROP TABLE `foo`
|
12922
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12923
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12924
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12925
|
+
DROP TABLE `foo`
|
12926
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12927
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12928
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12929
|
+
DROP TABLE `foo`
|
12930
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12931
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12932
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12933
|
+
DROP TABLE `foo`
|
12934
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12935
|
+
INSERT INTO `foo` (`state`) VALUES ('on')
|
12936
|
+
SELECT * FROM `foo` WHERE (`id` = 1) LIMIT 1
|
12937
|
+
DROP TABLE `foo`
|
12938
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12939
|
+
DROP TABLE `foo`
|
12940
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12941
|
+
DROP TABLE `foo`
|
12942
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|
12943
|
+
DROP TABLE `foo`
|
12944
|
+
CREATE TABLE `foo` (`id` integer PRIMARY KEY AUTOINCREMENT, `state` string)
|