spec/log/test.log in periodic_counter-0.1.0 vs spec/log/test.log in periodic_counter-0.1.1
- old
+ new
@@ -9179,5 +9179,785 @@
counter_last_2_days: 3
', counter_last_day = 1, counter_last_2_days = 2
WHERE id = 1
[0m
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (4.4ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (12.9ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (4.4ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (3.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (68.8ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (1.7ms)[0m [0mCREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
+ [4;36;1mSQL (11.8ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.2ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.1ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.8ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.8ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-10 21:52:32.893979 Z
+counter_last_2_days_at: 2010-06-10 21:52:32.894024 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.2ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:52:32.893979 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:52:32.894024 Z\n', `counter` = 2 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 2
+counter_last_day_at: 2010-06-11 21:52:32.900301 Z
+counter_last_2_days_at: 2010-06-10 21:52:32.894024 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 1
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.4ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncounter_last_day_at: 2010-06-11 21:52:32.900301 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:52:32.894024 Z\n', `counter` = 3 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 3
+counter_last_day_at: &id001 2010-06-12 21:52:32.944040 Z
+counter_last_2_days_at: *id001
+counter_last_2_days: 3
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (7.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (8.7ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (22.6ms)[0m [0mCREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
+ [4;36;1mSQL (0.9ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.5ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.5ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (11.8ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-10 21:55:06.092149 Z
+counter_last_2_days_at: 2010-06-10 21:55:06.092195 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.2ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:55:06.092149 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:06.092195 Z\n', `counter` = 2 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.7ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (1.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.9ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-10 21:55:06.092149 Z
+counter_last_2_days_at: 2010-06-10 21:55:06.092195 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_2_days = 1
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:55:06.092149 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:06.092195 Z\n' WHERE `id` = 1[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 2
+counter_last_day_at: 2010-06-11 21:55:06.137782 Z
+counter_last_2_days_at: 2010-06-10 21:55:06.092195 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 1
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (1.5ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (1.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncounter_last_day_at: 2010-06-11 21:55:06.137782 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:06.092195 Z\n', `counter` = 3 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 3
+counter_last_day_at: &id001 2010-06-12 21:55:06.155953 Z
+counter_last_2_days_at: *id001
+counter_last_2_days: 3
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (11.1ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (2.2ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (5.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (10.0ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (68.6ms)[0m [0mCREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
+ [4;36;1mSQL (3.9ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (14.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (8.3ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL)[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.8ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (9.3ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (2.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (2.3ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-10 21:55:17.011146 Z
+counter_last_2_days_at: 2010-06-10 21:55:17.011192 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (1.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (1.4ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (2.9ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.4ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:55:17.011146 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:17.011192 Z\n', `counter` = 2 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.4ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (4.9ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (2.8ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-10 21:55:17.011146 Z
+counter_last_2_days_at: 2010-06-10 21:55:17.011192 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_2_days = 1
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.4ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (6.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (3.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.7ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:55:17.011146 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:17.011192 Z\n' WHERE `id` = 1[0m
+ [4;36;1mSQL (2.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 2
+counter_last_day_at: 2010-06-11 21:55:17.053983 Z
+counter_last_2_days_at: 2010-06-10 21:55:17.011192 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 1
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.4ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 2\ncounter_last_day_at: 2010-06-11 21:55:17.053983 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:17.011192 Z\n', `counter` = 3 WHERE `id` = 1[0m
+ [4;36;1mSQL (9.8ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 3
+counter_last_day_at: &id001 2010-06-12 21:55:17.146939 Z
+counter_last_2_days_at: *id001
+counter_last_2_days: 3
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (1.6ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (30.6ms)[0m [0mCREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.6ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL)[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.9ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.7ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-10 21:55:50.869436 Z
+counter_last_2_days_at: 2010-06-10 21:55:50.869483 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:55:50.869436 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:50.869483 Z\n', `counter` = 2 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.6ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.8ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-10 21:55:50.869436 Z
+counter_last_2_days_at: 2010-06-10 21:55:50.869483 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_2_days = 1
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.6ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.2ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:55:50.869436 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:50.869483 Z\n', `counter` = 3 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 3
+counter_last_day_at: 2010-06-11 21:55:50.887279 Z
+counter_last_2_days_at: 2010-06-10 21:55:50.869483 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 2
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.4ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.4ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-11 21:55:50.887279 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:50.869483 Z\n' WHERE `id` = 1[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 3
+counter_last_day_at: &id001 2010-06-12 21:55:50.919734 Z
+counter_last_2_days_at: *id001
+counter_last_2_days: 3
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (13.5ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (7.4ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (11.0ms)[0m [0mCREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
+ [4;36;1mSQL (5.5ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (15.1ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (7.4ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (13.7ms)[0m [0mINSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL)[0m
+ [4;36;1mSQL (5.7ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (6.5ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (14.1ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (8.7ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (7.6ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (10.9ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-10 21:55:59.386527 Z
+counter_last_2_days_at: 2010-06-10 21:55:59.386573 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.4ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:55:59.386527 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:59.386573 Z\n', `counter` = 2 WHERE `id` = 1[0m
+ [4;36;1mSQL (6.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (4.7ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (10.2ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.3ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (1.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (6.1ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-10 21:55:59.386527 Z
+counter_last_2_days_at: 2010-06-10 21:55:59.386573 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_2_days = 1
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.3ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 21:55:59.386527 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:59.386573 Z\n', `counter` = 3 WHERE `id` = 1[0m
+ [4;36;1mSQL (2.3ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 3
+counter_last_day_at: 2010-06-11 21:55:59.446753 Z
+counter_last_2_days_at: 2010-06-10 21:55:59.386573 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 2
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (5.6ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (2.2ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (1.9ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-11 21:55:59.446753 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 21:55:59.386573 Z\n' WHERE `id` = 1[0m
+ [4;36;1mSQL (1.1ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 3
+counter_last_day_at: &id001 2010-06-12 21:55:59.491493 Z
+counter_last_2_days_at: *id001
+counter_last_2_days: 3
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (27.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (57.8ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (29.7ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (5.0ms)[0m [0mCREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
+ [4;36;1mSQL (2.1ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.5ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL)[0m
+ [4;36;1mSQL (10.7ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (15.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (199.7ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (9.4ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (33.6ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-10 22:13:23.563986 Z
+counter_last_2_days_at: 2010-06-10 22:13:23.564031 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.2ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.4ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 22:13:23.563986 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:13:23.564031 Z\n', `counter` = 2 WHERE `id` = 1[0m
+ [4;36;1mSQL (27.9ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (21.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (101.3ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (2.1ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (8.9ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-10 22:13:23.563986 Z
+counter_last_2_days_at: 2010-06-10 22:13:23.564031 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_2_days = 1
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.5ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 22:13:23.563986 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:13:23.564031 Z\n', `counter` = 3 WHERE `id` = 1[0m
+ [4;36;1mSQL (10.9ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 3
+counter_last_day_at: 2010-06-11 22:13:23.787982 Z
+counter_last_2_days_at: 2010-06-10 22:13:23.564031 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 2
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (2.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-11 22:13:23.787982 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:13:23.564031 Z\n', `counter` = 4 WHERE `id` = 1[0m
+ [4;36;1mSQL (11.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 4
+counter_last_day_at: &id001 2010-06-12 22:13:24.046356 Z
+counter_last_2_days_at: *id001
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (10.6ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (1.4ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (36.3ms)[0m [0mCREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.9ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL)[0m
+ [4;36;1mSQL (12.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.5ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.6ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-10 22:13:46.107266 Z
+counter_last_2_days_at: 2010-06-10 22:13:46.107311 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.2ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 22:13:46.107266 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:13:46.107311 Z\n', `counter` = 2 WHERE `id` = 1[0m
+ [4;36;1mSQL (1.0ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.5ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.6ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-10 22:13:46.107266 Z
+counter_last_2_days_at: 2010-06-10 22:13:46.107311 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_2_days = 1
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.2ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 22:13:46.107266 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:13:46.107311 Z\n', `counter` = 3 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.4ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 3
+counter_last_day_at: 2010-06-11 22:13:46.125411 Z
+counter_last_2_days_at: 2010-06-10 22:13:46.107311 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 2
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.4ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-11 22:13:46.125411 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:13:46.107311 Z\n', `counter` = 4 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 4
+counter_last_day_at: &id001 2010-06-12 22:13:46.139238 Z
+counter_last_2_days_at: *id001
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (1.5ms)[0m [0mDROP TABLE `counters`[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+ [4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
+Migrating to Counters (1)
+ [4;35;1mSQL (75.2ms)[0m [0mCREATE TABLE `counters` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `counter` int(11), `counter_last_day` int(11), `counter_last_2_days` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
+ [4;35;1mCounter Columns (1.5ms)[0m [0mSHOW FIELDS FROM `counters`[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Create (0.3ms)[0m [0mINSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL)[0m
+ [4;36;1mSQL (0.4ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.6ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.6ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-10 22:18:56.274766 Z
+counter_last_2_days_at: 2010-06-10 22:18:56.274810 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.2ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.2ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 22:18:56.274766 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:18:56.274810 Z\n', `counter` = 2 WHERE `id` = 1[0m
+ [4;36;1mSQL (10.8ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (1.6ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.6ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 1
+counter_last_day_at: 2010-06-10 22:18:56.274766 Z
+counter_last_2_days_at: 2010-06-10 22:18:56.274810 Z
+counter_last_2_days: 1
+', counter_last_day = 1, counter_last_2_days = 1
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.2ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.2ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-10 22:18:56.274766 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:18:56.274810 Z\n', `counter` = 3 WHERE `id` = 1[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 3
+counter_last_day_at: 2010-06-11 22:18:56.300401 Z
+counter_last_2_days_at: 2010-06-10 22:18:56.274810 Z
+counter_last_2_days: 1
+', counter_last_day = 0, counter_last_2_days = 2
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;35;1mCounter Load (0.2ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
+ [4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
+ [4;35;1mCounter Update (0.2ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-11 22:18:56.300401 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-10 22:18:56.274810 Z\n', `counter` = 4 WHERE `id` = 1[0m
+ [4;36;1mSQL (1.2ms)[0m [0;1mCOMMIT[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
+ [4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
+ [4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
+ FROM counters
+[0m
+ [4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
+ SET counter_data = '---
+counter_last_day: 4
+counter_last_day_at: &id001 2010-06-12 22:18:56.313985 Z
+counter_last_2_days_at: *id001
+counter_last_2_days: 4
+', counter_last_day = 0, counter_last_2_days = 0
+ WHERE id = 1
+[0m
+ [4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m