periodic_counter 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +8 -4
- data/lib/periodic_counter.rb +32 -18
- data/require.rb +1 -1
- data/spec/db/migrate/001_counters.rb +3 -0
- data/spec/log/test.log +1883 -0
- data/spec/periodic_counter_spec.rb +39 -14
- metadata +2 -2
data/README.markdown
CHANGED
@@ -13,13 +13,17 @@ sudo gem install periodic_counter
|
|
13
13
|
Create columns
|
14
14
|
--------------
|
15
15
|
|
16
|
-
You should already have a counter column
|
16
|
+
You should already have a counter column (let's call it X) that is being incremented by some external process.
|
17
17
|
|
18
|
-
|
18
|
+
Add an <code>X_data</code> varchar column with a length of 2048.
|
19
19
|
|
20
|
-
|
20
|
+
Add your periodic counters (all integers):
|
21
21
|
|
22
|
-
|
22
|
+
* <code>X\_last\_week</code>
|
23
|
+
* <code>X\_last\_6\_hours</code>
|
24
|
+
* <code>X\_last_sunday</code>
|
25
|
+
|
26
|
+
Currently only days of the week and [ActiveSupport's time extensions](http://api.rubyonrails.org/classes/ActiveSupport/CoreExtensions/Numeric/Time.html) are supported for text after <code>X_last</code>. If no digit is present, "1" is assumed.
|
23
27
|
|
24
28
|
Create configuration
|
25
29
|
--------------------
|
data/lib/periodic_counter.rb
CHANGED
@@ -3,6 +3,8 @@ Require.lib!
|
|
3
3
|
|
4
4
|
class PeriodicCounter
|
5
5
|
|
6
|
+
WEEKDAYS = %w(sunday monday tuesday wednesday thursday friday saturday)
|
7
|
+
|
6
8
|
def initialize(environment, root)
|
7
9
|
@db, @log, @mail = ActiveWrapper.setup(
|
8
10
|
:base => root,
|
@@ -29,8 +31,7 @@ class PeriodicCounter
|
|
29
31
|
# Find period columns
|
30
32
|
period = columns.select do |col|
|
31
33
|
col =~ /^#{column}/ &&
|
32
|
-
col
|
33
|
-
!col.include?('_data')
|
34
|
+
col =~ /_last_/
|
34
35
|
end
|
35
36
|
# Grab all records
|
36
37
|
select_columns = [ 'id', column, "#{column}_data" ]
|
@@ -45,25 +46,34 @@ class PeriodicCounter
|
|
45
46
|
count = record.delete(column).to_i
|
46
47
|
# Set period counters
|
47
48
|
period.each do |col|
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
elsif col.include?('week')
|
55
|
-
self.class.last_monday
|
56
|
-
elsif col.include?('month')
|
57
|
-
self.class.first_of_the_month
|
49
|
+
if WEEKDAYS.include?(weekday = col.split('_last_')[1])
|
50
|
+
data["#{col}_before_today"] ||= 0
|
51
|
+
if self.class.weekday(weekday)
|
52
|
+
record[col] = count - data["#{col}_before_today"]
|
53
|
+
else
|
54
|
+
data["#{col}_before_today"] = count
|
58
55
|
end
|
59
|
-
if (time_since_compute - duration) >= 0
|
60
|
-
data[col] = count
|
61
|
-
data["#{col}_at"] = last_day
|
62
56
|
else
|
63
|
-
data[col]
|
64
|
-
|
57
|
+
computed_at = data["#{col}_at"] || Time.now.utc
|
58
|
+
duration = column_to_period_integer(col)
|
59
|
+
time_since_compute = Time.now.utc - computed_at
|
60
|
+
last_day =
|
61
|
+
if col.include?('day')
|
62
|
+
self.class.today
|
63
|
+
elsif col.include?('week')
|
64
|
+
self.class.last_monday
|
65
|
+
elsif col.include?('month')
|
66
|
+
self.class.first_of_the_month
|
67
|
+
end
|
68
|
+
if (time_since_compute - duration) >= 0
|
69
|
+
data[col] = count
|
70
|
+
data["#{col}_at"] = last_day
|
71
|
+
else
|
72
|
+
data[col] ||= count
|
73
|
+
data["#{col}_at"] ||= last_day
|
74
|
+
end
|
75
|
+
record[col] = count - data[col].to_i
|
65
76
|
end
|
66
|
-
record[col] = count - data[col].to_i
|
67
77
|
end
|
68
78
|
# Update record
|
69
79
|
record["#{column}_data"] = "'#{YAML::dump(data)}'"
|
@@ -108,5 +118,9 @@ class PeriodicCounter
|
|
108
118
|
def today(now=Time.now.utc.to_date)
|
109
119
|
Date.new(now.year, now.month, now.day).to_time(:utc)
|
110
120
|
end
|
121
|
+
|
122
|
+
def weekday(day)
|
123
|
+
Time.now.utc.to_date.wday == WEEKDAYS.index(day)
|
124
|
+
end
|
111
125
|
end
|
112
126
|
end
|
data/require.rb
CHANGED
@@ -4,6 +4,9 @@ class Counters < ActiveRecord::Migration
|
|
4
4
|
t.integer :counter
|
5
5
|
t.integer :counter_last_day
|
6
6
|
t.integer :counter_last_2_days
|
7
|
+
t.integer :counter_last_monday
|
8
|
+
t.integer :counter_last_tuesday
|
9
|
+
t.integer :counter_last_wednesday
|
7
10
|
t.string :counter_data, :limit => 2048
|
8
11
|
end
|
9
12
|
end
|
data/spec/log/test.log
CHANGED
@@ -10559,5 +10559,1888 @@ counter_last_2_days_at: 2010-06-17 00:00:00 Z
|
|
10559
10559
|
counter_last_2_days: 4
|
10560
10560
|
', counter_last_day = 0, counter_last_2_days = 0
|
10561
10561
|
WHERE id = 1
|
10562
|
+
[0m
|
10563
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10564
|
+
[4;36;1mSQL (2.0ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
10565
|
+
[4;35;1mSQL (2.3ms)[0m [0mSHOW TABLES[0m
|
10566
|
+
[4;36;1mSQL (607.6ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10567
|
+
[4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
|
10568
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10569
|
+
Migrating to Counters (1)
|
10570
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
10571
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10572
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
10573
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10574
|
+
Migrating to Counters (1)
|
10575
|
+
[4;35;1mSQL (260.1ms)[0m [0mDROP TABLE `counters`[0m
|
10576
|
+
[4;36;1mSQL (2.8ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
10577
|
+
[4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
|
10578
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10579
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
10580
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10581
|
+
Migrating to Counters (1)
|
10582
|
+
[4;35;1mSQL (29.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
|
10583
|
+
[4;36;1mSQL (0.9ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
10584
|
+
[4;35;1mCounter Columns (2.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
10585
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mBEGIN[0m
|
10586
|
+
[4;35;1mCounter Create (0.4ms)[0m [0mINSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL)[0m
|
10587
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
|
10588
|
+
[4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
|
10589
|
+
[4;36;1mSQL (1.1ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10590
|
+
[4;35;1mSQL (17.2ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10591
|
+
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
|
10592
|
+
FROM counters
|
10593
|
+
[0m
|
10594
|
+
[4;35;1mSQL (1.2ms)[0m [0m UPDATE counters
|
10595
|
+
SET counter_data = '---
|
10596
|
+
counter_last_day: 1
|
10597
|
+
counter_last_day_at: 2010-06-17 00:00:00 Z
|
10598
|
+
counter_last_2_days_at: 2010-06-17 00:00:00 Z
|
10599
|
+
counter_last_2_days: 1
|
10600
|
+
', counter_last_day = 0, counter_last_2_days = 0
|
10601
|
+
WHERE id = 1
|
10602
|
+
[0m
|
10603
|
+
[4;36;1mCounter Load (0.4ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10604
|
+
[4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10605
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
10606
|
+
[4;35;1mCounter Update (0.4ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
|
10607
|
+
[4;36;1mSQL (10.1ms)[0m [0;1mCOMMIT[0m
|
10608
|
+
[4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
|
10609
|
+
[4;36;1mSQL (1.9ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10610
|
+
[4;35;1mSQL (1.2ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10611
|
+
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
|
10612
|
+
FROM counters
|
10613
|
+
[0m
|
10614
|
+
[4;35;1mSQL (0.8ms)[0m [0m UPDATE counters
|
10615
|
+
SET counter_data = '---
|
10616
|
+
counter_last_day: 1
|
10617
|
+
counter_last_day_at: 2010-06-17 00:00:00 Z
|
10618
|
+
counter_last_2_days_at: 2010-06-17 00:00:00 Z
|
10619
|
+
counter_last_2_days: 1
|
10620
|
+
', counter_last_day = 1, counter_last_2_days = 1
|
10621
|
+
WHERE id = 1
|
10622
|
+
[0m
|
10623
|
+
[4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10624
|
+
[4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10625
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
10626
|
+
[4;35;1mCounter Update (0.4ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[0m
|
10627
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
|
10628
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
10629
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10630
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10631
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
|
10632
|
+
FROM counters
|
10633
|
+
[0m
|
10634
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
10635
|
+
SET counter_data = '---
|
10636
|
+
counter_last_day: 3
|
10637
|
+
counter_last_day_at: 2010-06-18 00:00:00 Z
|
10638
|
+
counter_last_2_days_at: 2010-06-17 00:00:00 Z
|
10639
|
+
counter_last_2_days: 1
|
10640
|
+
', counter_last_day = 0, counter_last_2_days = 2
|
10641
|
+
WHERE id = 1
|
10642
|
+
[0m
|
10643
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10644
|
+
[4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10645
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
10646
|
+
[4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-18 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
10647
|
+
[4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
|
10648
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
10649
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10650
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10651
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
|
10652
|
+
FROM counters
|
10653
|
+
[0m
|
10654
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
10655
|
+
SET counter_data = '---
|
10656
|
+
counter_last_day: 4
|
10657
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
10658
|
+
counter_last_2_days_at: 2010-06-19 00:00:00 Z
|
10659
|
+
counter_last_2_days: 4
|
10660
|
+
', counter_last_day = 0, counter_last_2_days = 0
|
10661
|
+
WHERE id = 1
|
10662
|
+
[0m
|
10663
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10664
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
10665
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
10666
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10667
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
10668
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10669
|
+
Migrating to Counters (1)
|
10670
|
+
[4;35;1mSQL (0.6ms)[0m [0mSHOW TABLES[0m
|
10671
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10672
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
10673
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10674
|
+
Migrating to Counters (1)
|
10675
|
+
[4;35;1mSQL (17.2ms)[0m [0mDROP TABLE `counters`[0m
|
10676
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
10677
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
10678
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10679
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
10680
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10681
|
+
Migrating to Counters (1)
|
10682
|
+
[4;35;1mSQL (1.9ms)[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
|
10683
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
10684
|
+
[4;35;1mCounter Columns (1.4ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
10685
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
10686
|
+
[4;35;1mCounter Create (0.4ms)[0m [0mINSERT INTO `counters` (`counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, 1, NULL)[0m
|
10687
|
+
[4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
|
10688
|
+
[4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
|
10689
|
+
[4;36;1mSQL (1.4ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10690
|
+
[4;35;1mSQL (1.4ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10691
|
+
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
|
10692
|
+
FROM counters
|
10693
|
+
[0m
|
10694
|
+
[4;35;1mSQL (0.9ms)[0m [0m UPDATE counters
|
10695
|
+
SET counter_data = '---
|
10696
|
+
counter_last_day: 1
|
10697
|
+
counter_last_day_at: 2010-06-17 00:00:00 Z
|
10698
|
+
counter_last_2_days_at: 2010-06-17 00:00:00 Z
|
10699
|
+
counter_last_2_days: 1
|
10700
|
+
', counter_last_day = 0, counter_last_2_days = 0
|
10701
|
+
WHERE id = 1
|
10702
|
+
[0m
|
10703
|
+
[4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10704
|
+
[4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10705
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
10706
|
+
[4;35;1mCounter Update (0.5ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
|
10707
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
|
10708
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
10709
|
+
[4;36;1mSQL (1.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10710
|
+
[4;35;1mSQL (1.3ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10711
|
+
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
|
10712
|
+
FROM counters
|
10713
|
+
[0m
|
10714
|
+
[4;35;1mSQL (0.6ms)[0m [0m UPDATE counters
|
10715
|
+
SET counter_data = '---
|
10716
|
+
counter_last_day: 1
|
10717
|
+
counter_last_day_at: 2010-06-17 00:00:00 Z
|
10718
|
+
counter_last_2_days_at: 2010-06-17 00:00:00 Z
|
10719
|
+
counter_last_2_days: 1
|
10720
|
+
', counter_last_day = 1, counter_last_2_days = 1
|
10721
|
+
WHERE id = 1
|
10722
|
+
[0m
|
10723
|
+
[4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10724
|
+
[4;35;1mCounter Load (0.2ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10725
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
10726
|
+
[4;35;1mCounter Update (0.2ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[0m
|
10727
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mCOMMIT[0m
|
10728
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
10729
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10730
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10731
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
|
10732
|
+
FROM counters
|
10733
|
+
[0m
|
10734
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
10735
|
+
SET counter_data = '---
|
10736
|
+
counter_last_day: 3
|
10737
|
+
counter_last_day_at: 2010-06-18 00:00:00 Z
|
10738
|
+
counter_last_2_days_at: 2010-06-17 00:00:00 Z
|
10739
|
+
counter_last_2_days: 1
|
10740
|
+
', counter_last_day = 0, counter_last_2_days = 2
|
10741
|
+
WHERE id = 1
|
10742
|
+
[0m
|
10743
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10744
|
+
[4;35;1mCounter Load (0.2ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10745
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
10746
|
+
[4;35;1mCounter Update (0.2ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_day: 3\ncounter_last_day_at: 2010-06-18 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
10747
|
+
[4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
|
10748
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
10749
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10750
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10751
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days
|
10752
|
+
FROM counters
|
10753
|
+
[0m
|
10754
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
10755
|
+
SET counter_data = '---
|
10756
|
+
counter_last_day: 4
|
10757
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
10758
|
+
counter_last_2_days_at: 2010-06-19 00:00:00 Z
|
10759
|
+
counter_last_2_days: 4
|
10760
|
+
', counter_last_day = 0, counter_last_2_days = 0
|
10761
|
+
WHERE id = 1
|
10762
|
+
[0m
|
10763
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10764
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
10765
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
10766
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10767
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
10768
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10769
|
+
Migrating to Counters (1)
|
10770
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
10771
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10772
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
10773
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10774
|
+
Migrating to Counters (1)
|
10775
|
+
[4;35;1mSQL (10.8ms)[0m [0mDROP TABLE `counters`[0m
|
10776
|
+
[4;36;1mSQL (0.9ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
10777
|
+
[4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
|
10778
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10779
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
10780
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10781
|
+
Migrating to Counters (1)
|
10782
|
+
[4;35;1mSQL (2.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_last_thursday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
|
10783
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
10784
|
+
[4;35;1mCounter Columns (1.6ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
10785
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mBEGIN[0m
|
10786
|
+
[4;35;1mCounter Create (0.3ms)[0m [0mINSERT INTO `counters` (`counter_last_thursday`, `counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, 1, NULL)[0m
|
10787
|
+
[4;36;1mSQL (1.7ms)[0m [0;1mCOMMIT[0m
|
10788
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
10789
|
+
[4;36;1mSQL (1.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10790
|
+
[4;35;1mSQL (1.4ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10791
|
+
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday
|
10792
|
+
FROM counters
|
10793
|
+
[0m
|
10794
|
+
[4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10795
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
10796
|
+
[4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = NULL, `counter` = 2 WHERE `id` = 1[0m
|
10797
|
+
[4;36;1mSQL (0.4ms)[0m [0;1mCOMMIT[0m
|
10798
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
10799
|
+
[4;36;1mSQL (1.1ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10800
|
+
[4;35;1mSQL (1.4ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10801
|
+
[4;36;1mSQL (0.9ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday
|
10802
|
+
FROM counters
|
10803
|
+
[0m
|
10804
|
+
[4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10805
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
10806
|
+
[4;35;1mCounter Update (0.2ms)[0m [0mUPDATE `counters` SET `counter_data` = NULL, `counter` = 3 WHERE `id` = 1[0m
|
10807
|
+
[4;36;1mSQL (1.0ms)[0m [0;1mCOMMIT[0m
|
10808
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
10809
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10810
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10811
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday
|
10812
|
+
FROM counters
|
10813
|
+
[0m
|
10814
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
10815
|
+
SET counter_last_thursday = 0, counter_data = '---
|
10816
|
+
counter_last_thursday_before_today: 3
|
10817
|
+
counter_last_day: 3
|
10818
|
+
counter_last_day_at: 2010-06-18 00:00:00 Z
|
10819
|
+
counter_last_2_days_at: 2010-06-18 00:00:00 Z
|
10820
|
+
counter_last_2_days: 3
|
10821
|
+
', counter_last_day = 0, counter_last_2_days = 0
|
10822
|
+
WHERE id = 1
|
10823
|
+
[0m
|
10824
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10825
|
+
[4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10826
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
10827
|
+
[4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_thursday_before_today: 3\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-18 00:00:00 Z\ncounter_last_2_days: 3\ncounter_last_2_days_at: 2010-06-18 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
10828
|
+
[4;36;1mSQL (0.8ms)[0m [0;1mCOMMIT[0m
|
10829
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
10830
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10831
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10832
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday
|
10833
|
+
FROM counters
|
10834
|
+
[0m
|
10835
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
10836
|
+
SET counter_last_thursday = 0, counter_data = '---
|
10837
|
+
counter_last_thursday_before_today: 4
|
10838
|
+
counter_last_day: 4
|
10839
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
10840
|
+
counter_last_2_days_at: 2010-06-18 00:00:00 Z
|
10841
|
+
counter_last_2_days: 3
|
10842
|
+
', counter_last_day = 0, counter_last_2_days = 1
|
10843
|
+
WHERE id = 1
|
10844
|
+
[0m
|
10845
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10846
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
10847
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
10848
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10849
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
10850
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10851
|
+
Migrating to Counters (1)
|
10852
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
10853
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10854
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
10855
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10856
|
+
Migrating to Counters (1)
|
10857
|
+
[4;35;1mSQL (10.7ms)[0m [0mDROP TABLE `counters`[0m
|
10858
|
+
[4;36;1mSQL (1.0ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
10859
|
+
[4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
|
10860
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10861
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
10862
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10863
|
+
Migrating to Counters (1)
|
10864
|
+
[4;35;1mSQL (2.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_last_thursday` int(11), `counter_last_friday` int(11), `counter_last_saturday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
|
10865
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
10866
|
+
[4;35;1mCounter Columns (2.8ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
10867
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
10868
|
+
[4;35;1mCounter Create (0.3ms)[0m [0mINSERT INTO `counters` (`counter_last_friday`, `counter_last_saturday`, `counter_last_thursday`, `counter_data`, `counter_last_day`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL)[0m
|
10869
|
+
[4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
|
10870
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
10871
|
+
[4;36;1mSQL (1.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10872
|
+
[4;35;1mSQL (1.7ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10873
|
+
[4;36;1mSQL (0.9ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday, counter_last_friday, counter_last_saturday
|
10874
|
+
FROM counters
|
10875
|
+
[0m
|
10876
|
+
[4;35;1mSQL (0.7ms)[0m [0m UPDATE counters
|
10877
|
+
SET counter_last_saturday = 0, counter_last_friday = 0, counter_last_thursday = 0, counter_data = '---
|
10878
|
+
counter_last_thursday: 1
|
10879
|
+
counter_last_thursday_before_today: 0
|
10880
|
+
counter_last_saturday_before_today: 1
|
10881
|
+
counter_last_day: 1
|
10882
|
+
counter_last_friday_before_today: 1
|
10883
|
+
counter_last_day_at: 2010-06-17 00:00:00 Z
|
10884
|
+
counter_last_2_days_at: 2010-06-17 00:00:00 Z
|
10885
|
+
counter_last_2_days: 1
|
10886
|
+
', counter_last_day = 0, counter_last_2_days = 0
|
10887
|
+
WHERE id = 1
|
10888
|
+
[0m
|
10889
|
+
[4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10890
|
+
[4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10891
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
10892
|
+
[4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_thursday_before_today: 0\ncounter_last_thursday: 1\ncounter_last_saturday_before_today: 1\ncounter_last_day: 1\ncounter_last_friday_before_today: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
|
10893
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
|
10894
|
+
[4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
|
10895
|
+
[4;36;1mSQL (1.2ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10896
|
+
[4;35;1mSQL (1.7ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10897
|
+
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday, counter_last_friday, counter_last_saturday
|
10898
|
+
FROM counters
|
10899
|
+
[0m
|
10900
|
+
[4;35;1mSQL (0.7ms)[0m [0m UPDATE counters
|
10901
|
+
SET counter_last_saturday = 0, counter_last_friday = 0, counter_last_thursday = 0, counter_data = '---
|
10902
|
+
counter_last_thursday: 2
|
10903
|
+
counter_last_thursday_before_today: 0
|
10904
|
+
counter_last_saturday_before_today: 2
|
10905
|
+
counter_last_day: 1
|
10906
|
+
counter_last_friday_before_today: 2
|
10907
|
+
counter_last_day_at: 2010-06-17 00:00:00 Z
|
10908
|
+
counter_last_2_days_at: 2010-06-17 00:00:00 Z
|
10909
|
+
counter_last_2_days: 1
|
10910
|
+
', counter_last_day = 1, counter_last_2_days = 1
|
10911
|
+
WHERE id = 1
|
10912
|
+
[0m
|
10913
|
+
[4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10914
|
+
[4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10915
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
10916
|
+
[4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_thursday_before_today: 0\ncounter_last_thursday: 2\ncounter_last_saturday_before_today: 2\ncounter_last_day: 1\ncounter_last_friday_before_today: 2\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[0m
|
10917
|
+
[4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
|
10918
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
10919
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10920
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10921
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday, counter_last_friday, counter_last_saturday
|
10922
|
+
FROM counters
|
10923
|
+
[0m
|
10924
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
10925
|
+
SET counter_last_saturday = 0, counter_last_friday = 0, counter_last_thursday = 0, counter_data = '---
|
10926
|
+
counter_last_friday: 1
|
10927
|
+
counter_last_thursday: 2
|
10928
|
+
counter_last_thursday_before_today: 3
|
10929
|
+
counter_last_saturday_before_today: 3
|
10930
|
+
counter_last_day: 3
|
10931
|
+
counter_last_friday_before_today: 2
|
10932
|
+
counter_last_day_at: 2010-06-18 00:00:00 Z
|
10933
|
+
counter_last_2_days_at: 2010-06-17 00:00:00 Z
|
10934
|
+
counter_last_2_days: 1
|
10935
|
+
', counter_last_day = 0, counter_last_2_days = 2
|
10936
|
+
WHERE id = 1
|
10937
|
+
[0m
|
10938
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10939
|
+
[4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10940
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
10941
|
+
[4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_friday: 1\ncounter_last_thursday_before_today: 3\ncounter_last_thursday: 2\ncounter_last_saturday_before_today: 3\ncounter_last_day: 3\ncounter_last_friday_before_today: 2\ncounter_last_day_at: 2010-06-18 00:00:00 Z\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
10942
|
+
[4;36;1mSQL (1.9ms)[0m [0;1mCOMMIT[0m
|
10943
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
10944
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10945
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10946
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_thursday, counter_last_friday, counter_last_saturday
|
10947
|
+
FROM counters
|
10948
|
+
[0m
|
10949
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
10950
|
+
SET counter_last_saturday = 0, counter_last_friday = 0, counter_last_thursday = 0, counter_data = '---
|
10951
|
+
counter_last_saturday: 1
|
10952
|
+
counter_last_friday: 1
|
10953
|
+
counter_last_thursday: 2
|
10954
|
+
counter_last_thursday_before_today: 4
|
10955
|
+
counter_last_saturday_before_today: 3
|
10956
|
+
counter_last_day: 4
|
10957
|
+
counter_last_friday_before_today: 4
|
10958
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
10959
|
+
counter_last_2_days_at: 2010-06-19 00:00:00 Z
|
10960
|
+
counter_last_2_days: 4
|
10961
|
+
', counter_last_day = 0, counter_last_2_days = 0
|
10962
|
+
WHERE id = 1
|
10963
|
+
[0m
|
10964
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
10965
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
10966
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
10967
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10968
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
10969
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10970
|
+
Migrating to Counters (1)
|
10971
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
10972
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10973
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
10974
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10975
|
+
Migrating to Counters (1)
|
10976
|
+
[4;35;1mSQL (10.8ms)[0m [0mDROP TABLE `counters`[0m
|
10977
|
+
[4;36;1mSQL (0.9ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
10978
|
+
[4;35;1mSQL (0.5ms)[0m [0mSHOW TABLES[0m
|
10979
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10980
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
10981
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
10982
|
+
Migrating to Counters (1)
|
10983
|
+
[4;35;1mSQL (2.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_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
|
10984
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
10985
|
+
[4;35;1mCounter Columns (1.6ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
10986
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
10987
|
+
[4;35;1mCounter Create (0.3ms)[0m [0mINSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL)[0m
|
10988
|
+
[4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
|
10989
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
10990
|
+
[4;36;1mSQL (1.3ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
10991
|
+
[4;35;1mSQL (1.3ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
10992
|
+
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
10993
|
+
FROM counters
|
10994
|
+
[0m
|
10995
|
+
[4;35;1mSQL (0.7ms)[0m [0m UPDATE counters
|
10996
|
+
SET counter_last_monday = 0, counter_data = '---
|
10997
|
+
counter_last_monday_before_today: 1
|
10998
|
+
counter_last_tuesday_before_today: 1
|
10999
|
+
counter_last_day: 1
|
11000
|
+
counter_last_day_at: 2010-06-17 00:00:00 Z
|
11001
|
+
counter_last_wednesday_before_today: 1
|
11002
|
+
counter_last_2_days_at: 2010-06-17 00:00:00 Z
|
11003
|
+
counter_last_2_days: 1
|
11004
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
|
11005
|
+
WHERE id = 1
|
11006
|
+
[0m
|
11007
|
+
[4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11008
|
+
[4;35;1mCounter Load (0.4ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11009
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
11010
|
+
[4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 1\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
|
11011
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
|
11012
|
+
[4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
|
11013
|
+
[4;36;1mSQL (1.2ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11014
|
+
[4;35;1mSQL (2.4ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11015
|
+
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11016
|
+
FROM counters
|
11017
|
+
[0m
|
11018
|
+
[4;35;1mSQL (0.7ms)[0m [0m UPDATE counters
|
11019
|
+
SET counter_last_monday = 0, counter_data = '---
|
11020
|
+
counter_last_monday_before_today: 2
|
11021
|
+
counter_last_tuesday_before_today: 2
|
11022
|
+
counter_last_day: 1
|
11023
|
+
counter_last_day_at: 2010-06-17 00:00:00 Z
|
11024
|
+
counter_last_wednesday_before_today: 2
|
11025
|
+
counter_last_2_days_at: 2010-06-17 00:00:00 Z
|
11026
|
+
counter_last_2_days: 1
|
11027
|
+
', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
|
11028
|
+
WHERE id = 1
|
11029
|
+
[0m
|
11030
|
+
[4;36;1mCounter Load (0.2ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11031
|
+
[4;35;1mCounter Load (0.4ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11032
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
11033
|
+
[4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 2\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-17 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[0m
|
11034
|
+
[4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
|
11035
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11036
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11037
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11038
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11039
|
+
FROM counters
|
11040
|
+
[0m
|
11041
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11042
|
+
SET counter_last_monday = 0, counter_data = '---
|
11043
|
+
counter_last_monday_before_today: 3
|
11044
|
+
counter_last_tuesday_before_today: 3
|
11045
|
+
counter_last_day: 3
|
11046
|
+
counter_last_day_at: 2010-06-18 00:00:00 Z
|
11047
|
+
counter_last_wednesday_before_today: 3
|
11048
|
+
counter_last_2_days_at: 2010-06-17 00:00:00 Z
|
11049
|
+
counter_last_2_days: 1
|
11050
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 2
|
11051
|
+
WHERE id = 1
|
11052
|
+
[0m
|
11053
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11054
|
+
[4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11055
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
11056
|
+
[4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 3\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-18 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-17 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
11057
|
+
[4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
|
11058
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11059
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11060
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11061
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11062
|
+
FROM counters
|
11063
|
+
[0m
|
11064
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11065
|
+
SET counter_last_monday = 0, counter_data = '---
|
11066
|
+
counter_last_monday_before_today: 4
|
11067
|
+
counter_last_tuesday_before_today: 4
|
11068
|
+
counter_last_day: 4
|
11069
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
11070
|
+
counter_last_wednesday_before_today: 4
|
11071
|
+
counter_last_2_days_at: 2010-06-19 00:00:00 Z
|
11072
|
+
counter_last_2_days: 4
|
11073
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
|
11074
|
+
WHERE id = 1
|
11075
|
+
[0m
|
11076
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11077
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
11078
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
11079
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11080
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11081
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11082
|
+
Migrating to Counters (1)
|
11083
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11084
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11085
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11086
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11087
|
+
Migrating to Counters (1)
|
11088
|
+
[4;35;1mSQL (10.5ms)[0m [0mDROP TABLE `counters`[0m
|
11089
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
11090
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11091
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11092
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11093
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11094
|
+
Migrating to Counters (1)
|
11095
|
+
[4;35;1mSQL (1.8ms)[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_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
|
11096
|
+
[4;36;1mSQL (0.5ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
11097
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
11098
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
11099
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11100
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11101
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11102
|
+
Migrating to Counters (1)
|
11103
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11104
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11105
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11106
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11107
|
+
Migrating to Counters (1)
|
11108
|
+
[4;35;1mSQL (1.4ms)[0m [0mDROP TABLE `counters`[0m
|
11109
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
11110
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11111
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11112
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11113
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11114
|
+
Migrating to Counters (1)
|
11115
|
+
[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_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
|
11116
|
+
[4;36;1mSQL (0.5ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
11117
|
+
[4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
11118
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11119
|
+
[4;35;1mCounter Create (0.0ms)[0m [0mINSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL)[0m
|
11120
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11121
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11122
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11123
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11124
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11125
|
+
FROM counters
|
11126
|
+
[0m
|
11127
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11128
|
+
SET counter_last_monday = 0, counter_data = '---
|
11129
|
+
counter_last_monday: 1
|
11130
|
+
counter_last_monday_before_today: 0
|
11131
|
+
counter_last_tuesday_before_today: 1
|
11132
|
+
counter_last_day: 1
|
11133
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
11134
|
+
counter_last_wednesday_before_today: 1
|
11135
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11136
|
+
counter_last_2_days: 1
|
11137
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
|
11138
|
+
WHERE id = 1
|
11139
|
+
[0m
|
11140
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11141
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11142
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11143
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday: 1\ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
|
11144
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11145
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11146
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11147
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11148
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11149
|
+
FROM counters
|
11150
|
+
[0m
|
11151
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11152
|
+
SET counter_last_monday = 0, counter_data = '---
|
11153
|
+
counter_last_monday: 2
|
11154
|
+
counter_last_monday_before_today: 0
|
11155
|
+
counter_last_tuesday_before_today: 2
|
11156
|
+
counter_last_day: 1
|
11157
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
11158
|
+
counter_last_wednesday_before_today: 2
|
11159
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11160
|
+
counter_last_2_days: 1
|
11161
|
+
', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
|
11162
|
+
WHERE id = 1
|
11163
|
+
[0m
|
11164
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11165
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11166
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11167
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday: 2\ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[0m
|
11168
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11169
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11170
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11171
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11172
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11173
|
+
FROM counters
|
11174
|
+
[0m
|
11175
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11176
|
+
SET counter_last_monday = 0, counter_data = '---
|
11177
|
+
counter_last_monday: 2
|
11178
|
+
counter_last_monday_before_today: 3
|
11179
|
+
counter_last_tuesday_before_today: 2
|
11180
|
+
counter_last_day: 3
|
11181
|
+
counter_last_tuesday: 1
|
11182
|
+
counter_last_day_at: 2010-06-15 00:00:00 Z
|
11183
|
+
counter_last_wednesday_before_today: 3
|
11184
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11185
|
+
counter_last_2_days: 1
|
11186
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 2
|
11187
|
+
WHERE id = 1
|
11188
|
+
[0m
|
11189
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11190
|
+
[4;35;1mCounter Load (0.4ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11191
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
11192
|
+
[4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday: 2\ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_tuesday: 1\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
11193
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mCOMMIT[0m
|
11194
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11195
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11196
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11197
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11198
|
+
FROM counters
|
11199
|
+
[0m
|
11200
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11201
|
+
SET counter_last_monday = 0, counter_data = '---
|
11202
|
+
counter_last_monday: 2
|
11203
|
+
counter_last_monday_before_today: 4
|
11204
|
+
counter_last_tuesday_before_today: 4
|
11205
|
+
counter_last_day: 4
|
11206
|
+
counter_last_tuesday: 1
|
11207
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
11208
|
+
counter_last_wednesday_before_today: 4
|
11209
|
+
counter_last_2_days_at: 2010-06-19 00:00:00 Z
|
11210
|
+
counter_last_2_days: 4
|
11211
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
|
11212
|
+
WHERE id = 1
|
11213
|
+
[0m
|
11214
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11215
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
11216
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
11217
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11218
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11219
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11220
|
+
Migrating to Counters (1)
|
11221
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11222
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11223
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11224
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11225
|
+
Migrating to Counters (1)
|
11226
|
+
[4;35;1mSQL (10.5ms)[0m [0mDROP TABLE `counters`[0m
|
11227
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
11228
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11229
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11230
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11231
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11232
|
+
Migrating to Counters (1)
|
11233
|
+
[4;35;1mSQL (1.9ms)[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_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
|
11234
|
+
[4;36;1mSQL (0.5ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
11235
|
+
[4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
11236
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11237
|
+
[4;35;1mCounter Create (0.0ms)[0m [0mINSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL)[0m
|
11238
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11239
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11240
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11241
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11242
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11243
|
+
FROM counters
|
11244
|
+
[0m
|
11245
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11246
|
+
SET counter_last_monday = 1, counter_data = '---
|
11247
|
+
counter_last_monday_before_today: 0
|
11248
|
+
counter_last_tuesday_before_today: 1
|
11249
|
+
counter_last_day: 1
|
11250
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
11251
|
+
counter_last_wednesday_before_today: 1
|
11252
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11253
|
+
counter_last_2_days: 1
|
11254
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
|
11255
|
+
WHERE id = 1
|
11256
|
+
[0m
|
11257
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11258
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11259
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11260
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
|
11261
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11262
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11263
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11264
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11265
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11266
|
+
FROM counters
|
11267
|
+
[0m
|
11268
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11269
|
+
SET counter_last_monday = 2, counter_data = '---
|
11270
|
+
counter_last_monday_before_today: 0
|
11271
|
+
counter_last_tuesday_before_today: 2
|
11272
|
+
counter_last_day: 1
|
11273
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
11274
|
+
counter_last_wednesday_before_today: 2
|
11275
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11276
|
+
counter_last_2_days: 1
|
11277
|
+
', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
|
11278
|
+
WHERE id = 1
|
11279
|
+
[0m
|
11280
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11281
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11282
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11283
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[0m
|
11284
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11285
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11286
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11287
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11288
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11289
|
+
FROM counters
|
11290
|
+
[0m
|
11291
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11292
|
+
SET counter_last_monday = 2, counter_data = '---
|
11293
|
+
counter_last_monday_before_today: 3
|
11294
|
+
counter_last_tuesday_before_today: 2
|
11295
|
+
counter_last_day: 3
|
11296
|
+
counter_last_day_at: 2010-06-15 00:00:00 Z
|
11297
|
+
counter_last_wednesday_before_today: 3
|
11298
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11299
|
+
counter_last_2_days: 1
|
11300
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
|
11301
|
+
WHERE id = 1
|
11302
|
+
[0m
|
11303
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11304
|
+
[4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11305
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
11306
|
+
[4;35;1mCounter Update (0.4ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
11307
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
|
11308
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11309
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11310
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11311
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11312
|
+
FROM counters
|
11313
|
+
[0m
|
11314
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11315
|
+
SET counter_last_monday = 2, counter_data = '---
|
11316
|
+
counter_last_monday_before_today: 4
|
11317
|
+
counter_last_tuesday_before_today: 4
|
11318
|
+
counter_last_day: 4
|
11319
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
11320
|
+
counter_last_wednesday_before_today: 4
|
11321
|
+
counter_last_2_days_at: 2010-06-19 00:00:00 Z
|
11322
|
+
counter_last_2_days: 4
|
11323
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
|
11324
|
+
WHERE id = 1
|
11325
|
+
[0m
|
11326
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11327
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
11328
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
11329
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11330
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11331
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11332
|
+
Migrating to Counters (1)
|
11333
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11334
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11335
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11336
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11337
|
+
Migrating to Counters (1)
|
11338
|
+
[4;35;1mSQL (40.3ms)[0m [0mDROP TABLE `counters`[0m
|
11339
|
+
[4;36;1mSQL (0.9ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
11340
|
+
[4;35;1mSQL (0.5ms)[0m [0mSHOW TABLES[0m
|
11341
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11342
|
+
[4;35;1mSQL (0.5ms)[0m [0mSHOW TABLES[0m
|
11343
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11344
|
+
Migrating to Counters (1)
|
11345
|
+
[4;35;1mSQL (2.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_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
|
11346
|
+
[4;36;1mSQL (0.8ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
11347
|
+
[4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
11348
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11349
|
+
[4;35;1mCounter Create (0.0ms)[0m [0mINSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL)[0m
|
11350
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11351
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11352
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11353
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11354
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11355
|
+
FROM counters
|
11356
|
+
[0m
|
11357
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11358
|
+
SET counter_last_monday = 1, counter_data = '---
|
11359
|
+
counter_last_monday_before_today: 0
|
11360
|
+
counter_last_tuesday_before_today: 1
|
11361
|
+
counter_last_day: 1
|
11362
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
11363
|
+
counter_last_wednesday_before_today: 1
|
11364
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11365
|
+
counter_last_2_days: 1
|
11366
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
|
11367
|
+
WHERE id = 1
|
11368
|
+
[0m
|
11369
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11370
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11371
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11372
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
|
11373
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11374
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11375
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11376
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11377
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11378
|
+
FROM counters
|
11379
|
+
[0m
|
11380
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11381
|
+
SET counter_last_monday = 2, counter_data = '---
|
11382
|
+
counter_last_monday_before_today: 0
|
11383
|
+
counter_last_tuesday_before_today: 2
|
11384
|
+
counter_last_day: 1
|
11385
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
11386
|
+
counter_last_wednesday_before_today: 2
|
11387
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11388
|
+
counter_last_2_days: 1
|
11389
|
+
', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
|
11390
|
+
WHERE id = 1
|
11391
|
+
[0m
|
11392
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11393
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11394
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11395
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[0m
|
11396
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11397
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11398
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11399
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11400
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11401
|
+
FROM counters
|
11402
|
+
[0m
|
11403
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11404
|
+
SET counter_last_monday = 2, counter_data = '---
|
11405
|
+
counter_last_monday_before_today: 3
|
11406
|
+
counter_last_tuesday_before_today: 2
|
11407
|
+
counter_last_day: 3
|
11408
|
+
counter_last_day_at: 2010-06-15 00:00:00 Z
|
11409
|
+
counter_last_wednesday_before_today: 3
|
11410
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11411
|
+
counter_last_2_days: 1
|
11412
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
|
11413
|
+
WHERE id = 1
|
11414
|
+
[0m
|
11415
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11416
|
+
[4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11417
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
11418
|
+
[4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
11419
|
+
[4;36;1mSQL (0.4ms)[0m [0;1mCOMMIT[0m
|
11420
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11421
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11422
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11423
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11424
|
+
FROM counters
|
11425
|
+
[0m
|
11426
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11427
|
+
SET counter_last_monday = 2, counter_data = '---
|
11428
|
+
counter_last_monday_before_today: 4
|
11429
|
+
counter_last_tuesday_before_today: 4
|
11430
|
+
counter_last_day: 4
|
11431
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
11432
|
+
counter_last_wednesday_before_today: 4
|
11433
|
+
counter_last_2_days_at: 2010-06-19 00:00:00 Z
|
11434
|
+
counter_last_2_days: 4
|
11435
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
|
11436
|
+
WHERE id = 1
|
11437
|
+
[0m
|
11438
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11439
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
11440
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
11441
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11442
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11443
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11444
|
+
Migrating to Counters (1)
|
11445
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11446
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11447
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11448
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11449
|
+
Migrating to Counters (1)
|
11450
|
+
[4;35;1mSQL (10.5ms)[0m [0mDROP TABLE `counters`[0m
|
11451
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
11452
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11453
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11454
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11455
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11456
|
+
Migrating to Counters (1)
|
11457
|
+
[4;35;1mSQL (40.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_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
|
11458
|
+
[4;36;1mSQL (0.8ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
11459
|
+
[4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
11460
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11461
|
+
[4;35;1mCounter Create (0.0ms)[0m [0mINSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL)[0m
|
11462
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11463
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11464
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11465
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11466
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11467
|
+
FROM counters
|
11468
|
+
[0m
|
11469
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11470
|
+
SET counter_last_monday = 1, counter_data = '---
|
11471
|
+
counter_last_monday_before_today: 0
|
11472
|
+
counter_last_tuesday_before_today: 1
|
11473
|
+
counter_last_day: 1
|
11474
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
11475
|
+
counter_last_wednesday_before_today: 1
|
11476
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11477
|
+
counter_last_2_days: 1
|
11478
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
|
11479
|
+
WHERE id = 1
|
11480
|
+
[0m
|
11481
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11482
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11483
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11484
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
|
11485
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11486
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11487
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11488
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11489
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11490
|
+
FROM counters
|
11491
|
+
[0m
|
11492
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11493
|
+
SET counter_last_monday = 2, counter_data = '---
|
11494
|
+
counter_last_monday_before_today: 0
|
11495
|
+
counter_last_tuesday_before_today: 2
|
11496
|
+
counter_last_day: 1
|
11497
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
11498
|
+
counter_last_wednesday_before_today: 2
|
11499
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11500
|
+
counter_last_2_days: 1
|
11501
|
+
', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
|
11502
|
+
WHERE id = 1
|
11503
|
+
[0m
|
11504
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11505
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11506
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11507
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[0m
|
11508
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11509
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11510
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11511
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11512
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11513
|
+
FROM counters
|
11514
|
+
[0m
|
11515
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11516
|
+
SET counter_last_monday = 2, counter_data = '---
|
11517
|
+
counter_last_monday_before_today: 3
|
11518
|
+
counter_last_tuesday_before_today: 2
|
11519
|
+
counter_last_day: 3
|
11520
|
+
counter_last_day_at: 2010-06-15 00:00:00 Z
|
11521
|
+
counter_last_wednesday_before_today: 3
|
11522
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11523
|
+
counter_last_2_days: 1
|
11524
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
|
11525
|
+
WHERE id = 1
|
11526
|
+
[0m
|
11527
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11528
|
+
[4;35;1mCounter Load (0.4ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11529
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
11530
|
+
[4;35;1mCounter Update (0.4ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
11531
|
+
[4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
|
11532
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11533
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11534
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11535
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11536
|
+
FROM counters
|
11537
|
+
[0m
|
11538
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11539
|
+
SET counter_last_monday = 2, counter_data = '---
|
11540
|
+
counter_last_monday_before_today: 4
|
11541
|
+
counter_last_tuesday_before_today: 4
|
11542
|
+
counter_last_day: 4
|
11543
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
11544
|
+
counter_last_wednesday_before_today: 4
|
11545
|
+
counter_last_2_days_at: 2010-06-19 00:00:00 Z
|
11546
|
+
counter_last_2_days: 4
|
11547
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
|
11548
|
+
WHERE id = 1
|
11549
|
+
[0m
|
11550
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11551
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
11552
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
11553
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11554
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11555
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11556
|
+
Migrating to Counters (1)
|
11557
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11558
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11559
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11560
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11561
|
+
Migrating to Counters (1)
|
11562
|
+
[4;35;1mSQL (10.5ms)[0m [0mDROP TABLE `counters`[0m
|
11563
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
11564
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11565
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11566
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11567
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11568
|
+
Migrating to Counters (1)
|
11569
|
+
[4;35;1mSQL (59.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_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
|
11570
|
+
[4;36;1mSQL (0.8ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
11571
|
+
[4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
11572
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11573
|
+
[4;35;1mCounter Create (0.0ms)[0m [0mINSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL)[0m
|
11574
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11575
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11576
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11577
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11578
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11579
|
+
FROM counters
|
11580
|
+
[0m
|
11581
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11582
|
+
SET counter_last_monday = 1, counter_data = '---
|
11583
|
+
counter_last_monday_before_today: 0
|
11584
|
+
counter_last_tuesday_before_today: 1
|
11585
|
+
counter_last_day: 1
|
11586
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
11587
|
+
counter_last_wednesday_before_today: 1
|
11588
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11589
|
+
counter_last_2_days: 1
|
11590
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
|
11591
|
+
WHERE id = 1
|
11592
|
+
[0m
|
11593
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11594
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11595
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11596
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
|
11597
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11598
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11599
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11600
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11601
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11602
|
+
FROM counters
|
11603
|
+
[0m
|
11604
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11605
|
+
SET counter_last_monday = 2, counter_data = '---
|
11606
|
+
counter_last_monday_before_today: 0
|
11607
|
+
counter_last_tuesday_before_today: 2
|
11608
|
+
counter_last_day: 1
|
11609
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
11610
|
+
counter_last_wednesday_before_today: 2
|
11611
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11612
|
+
counter_last_2_days: 1
|
11613
|
+
', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
|
11614
|
+
WHERE id = 1
|
11615
|
+
[0m
|
11616
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11617
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11618
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11619
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[0m
|
11620
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11621
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11622
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11623
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11624
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11625
|
+
FROM counters
|
11626
|
+
[0m
|
11627
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11628
|
+
SET counter_last_monday = 2, counter_data = '---
|
11629
|
+
counter_last_monday_before_today: 3
|
11630
|
+
counter_last_tuesday_before_today: 2
|
11631
|
+
counter_last_day: 3
|
11632
|
+
counter_last_day_at: 2010-06-15 00:00:00 Z
|
11633
|
+
counter_last_wednesday_before_today: 3
|
11634
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11635
|
+
counter_last_2_days: 1
|
11636
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
|
11637
|
+
WHERE id = 1
|
11638
|
+
[0m
|
11639
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11640
|
+
[4;35;1mCounter Load (3.1ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11641
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mBEGIN[0m
|
11642
|
+
[4;35;1mCounter Update (0.4ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
11643
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
|
11644
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11645
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11646
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11647
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11648
|
+
FROM counters
|
11649
|
+
[0m
|
11650
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11651
|
+
SET counter_last_monday = 2, counter_data = '---
|
11652
|
+
counter_last_monday_before_today: 4
|
11653
|
+
counter_last_tuesday_before_today: 4
|
11654
|
+
counter_last_day: 4
|
11655
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
11656
|
+
counter_last_wednesday_before_today: 4
|
11657
|
+
counter_last_2_days_at: 2010-06-19 00:00:00 Z
|
11658
|
+
counter_last_2_days: 4
|
11659
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
|
11660
|
+
WHERE id = 1
|
11661
|
+
[0m
|
11662
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11663
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
11664
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
11665
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11666
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11667
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11668
|
+
Migrating to Counters (1)
|
11669
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11670
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11671
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11672
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11673
|
+
Migrating to Counters (1)
|
11674
|
+
[4;35;1mSQL (10.5ms)[0m [0mDROP TABLE `counters`[0m
|
11675
|
+
[4;36;1mSQL (1.3ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
11676
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
11677
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11678
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11679
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11680
|
+
Migrating to Counters (1)
|
11681
|
+
[4;35;1mSQL (58.9ms)[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_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
|
11682
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
11683
|
+
[4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
11684
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11685
|
+
[4;35;1mCounter Create (0.0ms)[0m [0mINSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL)[0m
|
11686
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11687
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11688
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11689
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11690
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11691
|
+
FROM counters
|
11692
|
+
[0m
|
11693
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11694
|
+
SET counter_last_monday = 1, counter_data = '---
|
11695
|
+
counter_last_monday_before_today: 0
|
11696
|
+
counter_last_tuesday_before_today: 1
|
11697
|
+
counter_last_day: 1
|
11698
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
11699
|
+
counter_last_wednesday_before_today: 1
|
11700
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11701
|
+
counter_last_2_days: 1
|
11702
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
|
11703
|
+
WHERE id = 1
|
11704
|
+
[0m
|
11705
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11706
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11707
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11708
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
|
11709
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11710
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11711
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11712
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11713
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11714
|
+
FROM counters
|
11715
|
+
[0m
|
11716
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11717
|
+
SET counter_last_monday = 2, counter_data = '---
|
11718
|
+
counter_last_monday_before_today: 0
|
11719
|
+
counter_last_tuesday_before_today: 2
|
11720
|
+
counter_last_day: 1
|
11721
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
11722
|
+
counter_last_wednesday_before_today: 2
|
11723
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11724
|
+
counter_last_2_days: 1
|
11725
|
+
', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
|
11726
|
+
WHERE id = 1
|
11727
|
+
[0m
|
11728
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11729
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11730
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11731
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[0m
|
11732
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11733
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11734
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11735
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11736
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11737
|
+
FROM counters
|
11738
|
+
[0m
|
11739
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11740
|
+
SET counter_last_monday = 2, counter_data = '---
|
11741
|
+
counter_last_monday_before_today: 3
|
11742
|
+
counter_last_tuesday_before_today: 2
|
11743
|
+
counter_last_day: 3
|
11744
|
+
counter_last_day_at: 2010-06-15 00:00:00 Z
|
11745
|
+
counter_last_wednesday_before_today: 3
|
11746
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11747
|
+
counter_last_2_days: 1
|
11748
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
|
11749
|
+
WHERE id = 1
|
11750
|
+
[0m
|
11751
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11752
|
+
[4;35;1mCounter Load (7.5ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11753
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
11754
|
+
[4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
11755
|
+
[4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
|
11756
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11757
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11758
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11759
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11760
|
+
FROM counters
|
11761
|
+
[0m
|
11762
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11763
|
+
SET counter_last_monday = 2, counter_data = '---
|
11764
|
+
counter_last_monday_before_today: 4
|
11765
|
+
counter_last_tuesday_before_today: 4
|
11766
|
+
counter_last_day: 4
|
11767
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
11768
|
+
counter_last_wednesday_before_today: 4
|
11769
|
+
counter_last_2_days_at: 2010-06-19 00:00:00 Z
|
11770
|
+
counter_last_2_days: 4
|
11771
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
|
11772
|
+
WHERE id = 1
|
11773
|
+
[0m
|
11774
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11775
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
11776
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
11777
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11778
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11779
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11780
|
+
Migrating to Counters (1)
|
11781
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11782
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11783
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11784
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11785
|
+
Migrating to Counters (1)
|
11786
|
+
[4;35;1mSQL (10.5ms)[0m [0mDROP TABLE `counters`[0m
|
11787
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
11788
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11789
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11790
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11791
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11792
|
+
Migrating to Counters (1)
|
11793
|
+
[4;35;1mSQL (55.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_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
|
11794
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
11795
|
+
[4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
11796
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11797
|
+
[4;35;1mCounter Create (0.0ms)[0m [0mINSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL)[0m
|
11798
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11799
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11800
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11801
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11802
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11803
|
+
FROM counters
|
11804
|
+
[0m
|
11805
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11806
|
+
SET counter_last_monday = 1, counter_data = '---
|
11807
|
+
counter_last_monday_before_today: 0
|
11808
|
+
counter_last_tuesday_before_today: 1
|
11809
|
+
counter_last_day: 1
|
11810
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
11811
|
+
counter_last_wednesday_before_today: 1
|
11812
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11813
|
+
counter_last_2_days: 1
|
11814
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
|
11815
|
+
WHERE id = 1
|
11816
|
+
[0m
|
11817
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11818
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11819
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11820
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
|
11821
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11822
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11823
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11824
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11825
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11826
|
+
FROM counters
|
11827
|
+
[0m
|
11828
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11829
|
+
SET counter_last_monday = 2, counter_data = '---
|
11830
|
+
counter_last_monday_before_today: 0
|
11831
|
+
counter_last_tuesday_before_today: 2
|
11832
|
+
counter_last_day: 1
|
11833
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
11834
|
+
counter_last_wednesday_before_today: 2
|
11835
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11836
|
+
counter_last_2_days: 1
|
11837
|
+
', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
|
11838
|
+
WHERE id = 1
|
11839
|
+
[0m
|
11840
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11841
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11842
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11843
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[0m
|
11844
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11845
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11846
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11847
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11848
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11849
|
+
FROM counters
|
11850
|
+
[0m
|
11851
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11852
|
+
SET counter_last_monday = 2, counter_data = '---
|
11853
|
+
counter_last_monday_before_today: 3
|
11854
|
+
counter_last_tuesday_before_today: 2
|
11855
|
+
counter_last_day: 3
|
11856
|
+
counter_last_day_at: 2010-06-15 00:00:00 Z
|
11857
|
+
counter_last_wednesday_before_today: 3
|
11858
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11859
|
+
counter_last_2_days: 1
|
11860
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
|
11861
|
+
WHERE id = 1
|
11862
|
+
[0m
|
11863
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11864
|
+
[4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11865
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mBEGIN[0m
|
11866
|
+
[4;35;1mCounter Update (2.1ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
11867
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
|
11868
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11869
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11870
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11871
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11872
|
+
FROM counters
|
11873
|
+
[0m
|
11874
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11875
|
+
SET counter_last_monday = 2, counter_data = '---
|
11876
|
+
counter_last_monday_before_today: 4
|
11877
|
+
counter_last_tuesday_before_today: 4
|
11878
|
+
counter_last_day: 4
|
11879
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
11880
|
+
counter_last_wednesday_before_today: 4
|
11881
|
+
counter_last_2_days_at: 2010-06-19 00:00:00 Z
|
11882
|
+
counter_last_2_days: 4
|
11883
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
|
11884
|
+
WHERE id = 1
|
11885
|
+
[0m
|
11886
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11887
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
11888
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
11889
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11890
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11891
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11892
|
+
Migrating to Counters (1)
|
11893
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11894
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11895
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
11896
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11897
|
+
Migrating to Counters (1)
|
11898
|
+
[4;35;1mSQL (37.4ms)[0m [0mDROP TABLE `counters`[0m
|
11899
|
+
[4;36;1mSQL (0.9ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
11900
|
+
[4;35;1mSQL (0.5ms)[0m [0mSHOW TABLES[0m
|
11901
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11902
|
+
[4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
|
11903
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
11904
|
+
Migrating to Counters (1)
|
11905
|
+
[4;35;1mSQL (2.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_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
|
11906
|
+
[4;36;1mSQL (1.1ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
11907
|
+
[4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
11908
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11909
|
+
[4;35;1mCounter Create (0.0ms)[0m [0mINSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL)[0m
|
11910
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11911
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11912
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11913
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11914
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11915
|
+
FROM counters
|
11916
|
+
[0m
|
11917
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11918
|
+
SET counter_last_monday = 1, counter_data = '---
|
11919
|
+
counter_last_monday_before_today: 0
|
11920
|
+
counter_last_tuesday_before_today: 1
|
11921
|
+
counter_last_day: 1
|
11922
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
11923
|
+
counter_last_wednesday_before_today: 1
|
11924
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11925
|
+
counter_last_2_days: 1
|
11926
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
|
11927
|
+
WHERE id = 1
|
11928
|
+
[0m
|
11929
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11930
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11931
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11932
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
|
11933
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11934
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11935
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11936
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11937
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11938
|
+
FROM counters
|
11939
|
+
[0m
|
11940
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11941
|
+
SET counter_last_monday = 2, counter_data = '---
|
11942
|
+
counter_last_monday_before_today: 0
|
11943
|
+
counter_last_tuesday_before_today: 2
|
11944
|
+
counter_last_day: 1
|
11945
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
11946
|
+
counter_last_wednesday_before_today: 2
|
11947
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11948
|
+
counter_last_2_days: 1
|
11949
|
+
', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
|
11950
|
+
WHERE id = 1
|
11951
|
+
[0m
|
11952
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11953
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11954
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
11955
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[0m
|
11956
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
11957
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11958
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11959
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11960
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11961
|
+
FROM counters
|
11962
|
+
[0m
|
11963
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11964
|
+
SET counter_last_monday = 2, counter_data = '---
|
11965
|
+
counter_last_monday_before_today: 3
|
11966
|
+
counter_last_tuesday_before_today: 2
|
11967
|
+
counter_last_day: 3
|
11968
|
+
counter_last_day_at: 2010-06-15 00:00:00 Z
|
11969
|
+
counter_last_wednesday_before_today: 3
|
11970
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
11971
|
+
counter_last_2_days: 1
|
11972
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
|
11973
|
+
WHERE id = 1
|
11974
|
+
[0m
|
11975
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11976
|
+
[4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11977
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
11978
|
+
[4;35;1mCounter Update (0.2ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
11979
|
+
[4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
|
11980
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
11981
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
11982
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
11983
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
11984
|
+
FROM counters
|
11985
|
+
[0m
|
11986
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
11987
|
+
SET counter_last_monday = 2, counter_data = '---
|
11988
|
+
counter_last_monday_before_today: 4
|
11989
|
+
counter_last_tuesday_before_today: 4
|
11990
|
+
counter_last_day: 4
|
11991
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
11992
|
+
counter_last_wednesday_before_today: 4
|
11993
|
+
counter_last_2_days_at: 2010-06-19 00:00:00 Z
|
11994
|
+
counter_last_2_days: 4
|
11995
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
|
11996
|
+
WHERE id = 1
|
11997
|
+
[0m
|
11998
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
11999
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
12000
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
12001
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12002
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12003
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12004
|
+
Migrating to Counters (1)
|
12005
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12006
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12007
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12008
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12009
|
+
Migrating to Counters (1)
|
12010
|
+
[4;35;1mSQL (10.5ms)[0m [0mDROP TABLE `counters`[0m
|
12011
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
12012
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12013
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12014
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12015
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12016
|
+
Migrating to Counters (1)
|
12017
|
+
[4;35;1mSQL (38.5ms)[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_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
|
12018
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
12019
|
+
[4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
12020
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
12021
|
+
[4;35;1mCounter Create (0.0ms)[0m [0mINSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL)[0m
|
12022
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
12023
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
12024
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
12025
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
12026
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
12027
|
+
FROM counters
|
12028
|
+
[0m
|
12029
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
12030
|
+
SET counter_last_monday = 1, counter_data = '---
|
12031
|
+
counter_last_monday_before_today: 0
|
12032
|
+
counter_last_tuesday_before_today: 1
|
12033
|
+
counter_last_day: 1
|
12034
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
12035
|
+
counter_last_wednesday_before_today: 1
|
12036
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
12037
|
+
counter_last_2_days: 1
|
12038
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
|
12039
|
+
WHERE id = 1
|
12040
|
+
[0m
|
12041
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12042
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12043
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
12044
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
|
12045
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
12046
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
12047
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
12048
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
12049
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
12050
|
+
FROM counters
|
12051
|
+
[0m
|
12052
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
12053
|
+
SET counter_last_monday = 2, counter_data = '---
|
12054
|
+
counter_last_monday_before_today: 0
|
12055
|
+
counter_last_tuesday_before_today: 2
|
12056
|
+
counter_last_day: 1
|
12057
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
12058
|
+
counter_last_wednesday_before_today: 2
|
12059
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
12060
|
+
counter_last_2_days: 1
|
12061
|
+
', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
|
12062
|
+
WHERE id = 1
|
12063
|
+
[0m
|
12064
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12065
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12066
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
12067
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[0m
|
12068
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
12069
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
12070
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
12071
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
12072
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
12073
|
+
FROM counters
|
12074
|
+
[0m
|
12075
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
12076
|
+
SET counter_last_monday = 2, counter_data = '---
|
12077
|
+
counter_last_monday_before_today: 3
|
12078
|
+
counter_last_tuesday_before_today: 2
|
12079
|
+
counter_last_day: 3
|
12080
|
+
counter_last_day_at: 2010-06-15 00:00:00 Z
|
12081
|
+
counter_last_wednesday_before_today: 3
|
12082
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
12083
|
+
counter_last_2_days: 1
|
12084
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
|
12085
|
+
WHERE id = 1
|
12086
|
+
[0m
|
12087
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12088
|
+
[4;35;1mCounter Load (0.2ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12089
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
12090
|
+
[4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
12091
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mCOMMIT[0m
|
12092
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
12093
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
12094
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
12095
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
12096
|
+
FROM counters
|
12097
|
+
[0m
|
12098
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
12099
|
+
SET counter_last_monday = 2, counter_data = '---
|
12100
|
+
counter_last_monday_before_today: 4
|
12101
|
+
counter_last_tuesday_before_today: 4
|
12102
|
+
counter_last_day: 4
|
12103
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
12104
|
+
counter_last_wednesday_before_today: 4
|
12105
|
+
counter_last_2_days_at: 2010-06-19 00:00:00 Z
|
12106
|
+
counter_last_2_days: 4
|
12107
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
|
12108
|
+
WHERE id = 1
|
12109
|
+
[0m
|
12110
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12111
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
12112
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
12113
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12114
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12115
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12116
|
+
Migrating to Counters (1)
|
12117
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12118
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12119
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12120
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12121
|
+
Migrating to Counters (1)
|
12122
|
+
[4;35;1mSQL (39.5ms)[0m [0mDROP TABLE `counters`[0m
|
12123
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
12124
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12125
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12126
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12127
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12128
|
+
Migrating to Counters (1)
|
12129
|
+
[4;35;1mSQL (1.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_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
|
12130
|
+
[4;36;1mSQL (0.4ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
12131
|
+
[4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
12132
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
12133
|
+
[4;35;1mCounter Create (0.0ms)[0m [0mINSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL)[0m
|
12134
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
12135
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
12136
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
12137
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
12138
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
12139
|
+
FROM counters
|
12140
|
+
[0m
|
12141
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
12142
|
+
SET counter_last_monday = 1, counter_data = '---
|
12143
|
+
counter_last_monday_before_today: 0
|
12144
|
+
counter_last_tuesday_before_today: 1
|
12145
|
+
counter_last_day: 1
|
12146
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
12147
|
+
counter_last_wednesday_before_today: 1
|
12148
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
12149
|
+
counter_last_2_days: 1
|
12150
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
|
12151
|
+
WHERE id = 1
|
12152
|
+
[0m
|
12153
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12154
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12155
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
12156
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
|
12157
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
12158
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
12159
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
12160
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
12161
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
12162
|
+
FROM counters
|
12163
|
+
[0m
|
12164
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
12165
|
+
SET counter_last_monday = 2, counter_data = '---
|
12166
|
+
counter_last_monday_before_today: 0
|
12167
|
+
counter_last_tuesday_before_today: 2
|
12168
|
+
counter_last_day: 1
|
12169
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
12170
|
+
counter_last_wednesday_before_today: 2
|
12171
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
12172
|
+
counter_last_2_days: 1
|
12173
|
+
', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
|
12174
|
+
WHERE id = 1
|
12175
|
+
[0m
|
12176
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12177
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12178
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
12179
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[0m
|
12180
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
12181
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
12182
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
12183
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
12184
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
12185
|
+
FROM counters
|
12186
|
+
[0m
|
12187
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
12188
|
+
SET counter_last_monday = 2, counter_data = '---
|
12189
|
+
counter_last_monday_before_today: 3
|
12190
|
+
counter_last_tuesday_before_today: 2
|
12191
|
+
counter_last_day: 3
|
12192
|
+
counter_last_day_at: 2010-06-15 00:00:00 Z
|
12193
|
+
counter_last_wednesday_before_today: 3
|
12194
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
12195
|
+
counter_last_2_days: 1
|
12196
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
|
12197
|
+
WHERE id = 1
|
12198
|
+
[0m
|
12199
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12200
|
+
[4;35;1mCounter Load (0.2ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12201
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
12202
|
+
[4;35;1mCounter Update (0.4ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
12203
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mCOMMIT[0m
|
12204
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
12205
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
12206
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
12207
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
12208
|
+
FROM counters
|
12209
|
+
[0m
|
12210
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
12211
|
+
SET counter_last_monday = 2, counter_data = '---
|
12212
|
+
counter_last_monday_before_today: 4
|
12213
|
+
counter_last_tuesday_before_today: 4
|
12214
|
+
counter_last_day: 4
|
12215
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
12216
|
+
counter_last_wednesday_before_today: 4
|
12217
|
+
counter_last_2_days_at: 2010-06-19 00:00:00 Z
|
12218
|
+
counter_last_2_days: 4
|
12219
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
|
12220
|
+
WHERE id = 1
|
12221
|
+
[0m
|
12222
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12223
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
12224
|
+
[4;35;1mSQL (0.4ms)[0m [0mSHOW TABLES[0m
|
12225
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12226
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12227
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12228
|
+
Migrating to Counters (1)
|
12229
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12230
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12231
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12232
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12233
|
+
Migrating to Counters (1)
|
12234
|
+
[4;35;1mSQL (10.5ms)[0m [0mDROP TABLE `counters`[0m
|
12235
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
12236
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12237
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12238
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12239
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12240
|
+
Migrating to Counters (1)
|
12241
|
+
[4;35;1mSQL (39.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_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
|
12242
|
+
[4;36;1mSQL (0.6ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
12243
|
+
[4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
12244
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
12245
|
+
[4;35;1mCounter Create (0.0ms)[0m [0mINSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL)[0m
|
12246
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
12247
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
12248
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
12249
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
12250
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
12251
|
+
FROM counters
|
12252
|
+
[0m
|
12253
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
12254
|
+
SET counter_last_monday = 1, counter_data = '---
|
12255
|
+
counter_last_monday_before_today: 0
|
12256
|
+
counter_last_tuesday_before_today: 1
|
12257
|
+
counter_last_day: 1
|
12258
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
12259
|
+
counter_last_wednesday_before_today: 1
|
12260
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
12261
|
+
counter_last_2_days: 1
|
12262
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
|
12263
|
+
WHERE id = 1
|
12264
|
+
[0m
|
12265
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12266
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12267
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
12268
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
|
12269
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
12270
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
12271
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
12272
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
12273
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
12274
|
+
FROM counters
|
12275
|
+
[0m
|
12276
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
12277
|
+
SET counter_last_monday = 2, counter_data = '---
|
12278
|
+
counter_last_monday_before_today: 0
|
12279
|
+
counter_last_tuesday_before_today: 2
|
12280
|
+
counter_last_day: 1
|
12281
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
12282
|
+
counter_last_wednesday_before_today: 2
|
12283
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
12284
|
+
counter_last_2_days: 1
|
12285
|
+
', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
|
12286
|
+
WHERE id = 1
|
12287
|
+
[0m
|
12288
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12289
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12290
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
12291
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[0m
|
12292
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
12293
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
12294
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
12295
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
12296
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
12297
|
+
FROM counters
|
12298
|
+
[0m
|
12299
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
12300
|
+
SET counter_last_monday = 2, counter_data = '---
|
12301
|
+
counter_last_monday_before_today: 3
|
12302
|
+
counter_last_tuesday_before_today: 2
|
12303
|
+
counter_last_day: 3
|
12304
|
+
counter_last_day_at: 2010-06-15 00:00:00 Z
|
12305
|
+
counter_last_wednesday_before_today: 3
|
12306
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
12307
|
+
counter_last_2_days: 1
|
12308
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
|
12309
|
+
WHERE id = 1
|
12310
|
+
[0m
|
12311
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12312
|
+
[4;35;1mCounter Load (0.3ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12313
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
12314
|
+
[4;35;1mCounter Update (0.3ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
12315
|
+
[4;36;1mSQL (0.5ms)[0m [0;1mCOMMIT[0m
|
12316
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
12317
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
12318
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
12319
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
12320
|
+
FROM counters
|
12321
|
+
[0m
|
12322
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
12323
|
+
SET counter_last_monday = 2, counter_data = '---
|
12324
|
+
counter_last_monday_before_today: 4
|
12325
|
+
counter_last_tuesday_before_today: 4
|
12326
|
+
counter_last_day: 4
|
12327
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
12328
|
+
counter_last_wednesday_before_today: 4
|
12329
|
+
counter_last_2_days_at: 2010-06-19 00:00:00 Z
|
12330
|
+
counter_last_2_days: 4
|
12331
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
|
12332
|
+
WHERE id = 1
|
12333
|
+
[0m
|
12334
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12335
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
12336
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
12337
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12338
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12339
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12340
|
+
Migrating to Counters (1)
|
12341
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12342
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12343
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12344
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12345
|
+
Migrating to Counters (1)
|
12346
|
+
[4;35;1mSQL (22.3ms)[0m [0mDROP TABLE `counters`[0m
|
12347
|
+
[4;36;1mSQL (0.8ms)[0m [0;1mDELETE FROM schema_migrations WHERE version = '1'[0m
|
12348
|
+
[4;35;1mSQL (0.3ms)[0m [0mSHOW TABLES[0m
|
12349
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12350
|
+
[4;35;1mSQL (0.2ms)[0m [0mSHOW TABLES[0m
|
12351
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
12352
|
+
Migrating to Counters (1)
|
12353
|
+
[4;35;1mSQL (1.8ms)[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_last_monday` int(11), `counter_last_tuesday` int(11), `counter_last_wednesday` int(11), `counter_data` varchar(2048)) ENGINE=InnoDB[0m
|
12354
|
+
[4;36;1mSQL (0.5ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('1')[0m
|
12355
|
+
[4;35;1mCounter Columns (0.0ms)[0m [0mSHOW FIELDS FROM `counters`[0m
|
12356
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
12357
|
+
[4;35;1mCounter Create (0.0ms)[0m [0mINSERT INTO `counters` (`counter_last_monday`, `counter_data`, `counter_last_day`, `counter_last_tuesday`, `counter_last_wednesday`, `counter`, `counter_last_2_days`) VALUES(NULL, NULL, NULL, NULL, NULL, 1, NULL)[0m
|
12358
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
12359
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
12360
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
12361
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
12362
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
12363
|
+
FROM counters
|
12364
|
+
[0m
|
12365
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
12366
|
+
SET counter_last_monday = 1, counter_data = '---
|
12367
|
+
counter_last_monday_before_today: 0
|
12368
|
+
counter_last_tuesday_before_today: 1
|
12369
|
+
counter_last_day: 1
|
12370
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
12371
|
+
counter_last_wednesday_before_today: 1
|
12372
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
12373
|
+
counter_last_2_days: 1
|
12374
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 0
|
12375
|
+
WHERE id = 1
|
12376
|
+
[0m
|
12377
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12378
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12379
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
12380
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 1\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 1\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 2 WHERE `id` = 1[0m
|
12381
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
12382
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
12383
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
12384
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
12385
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
12386
|
+
FROM counters
|
12387
|
+
[0m
|
12388
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
12389
|
+
SET counter_last_monday = 2, counter_data = '---
|
12390
|
+
counter_last_monday_before_today: 0
|
12391
|
+
counter_last_tuesday_before_today: 2
|
12392
|
+
counter_last_day: 1
|
12393
|
+
counter_last_day_at: 2010-06-14 00:00:00 Z
|
12394
|
+
counter_last_wednesday_before_today: 2
|
12395
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
12396
|
+
counter_last_2_days: 1
|
12397
|
+
', counter_last_day = 1, counter_last_wednesday = 0, counter_last_tuesday = 0, counter_last_2_days = 1
|
12398
|
+
WHERE id = 1
|
12399
|
+
[0m
|
12400
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12401
|
+
[4;35;1mCounter Load (0.0ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12402
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mBEGIN[0m
|
12403
|
+
[4;35;1mCounter Update (0.0ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 0\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 1\ncounter_last_day_at: 2010-06-14 00:00:00 Z\ncounter_last_wednesday_before_today: 2\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 3 WHERE `id` = 1[0m
|
12404
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mCOMMIT[0m
|
12405
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
12406
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
12407
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
12408
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
12409
|
+
FROM counters
|
12410
|
+
[0m
|
12411
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
12412
|
+
SET counter_last_monday = 2, counter_data = '---
|
12413
|
+
counter_last_monday_before_today: 3
|
12414
|
+
counter_last_tuesday_before_today: 2
|
12415
|
+
counter_last_day: 3
|
12416
|
+
counter_last_day_at: 2010-06-15 00:00:00 Z
|
12417
|
+
counter_last_wednesday_before_today: 3
|
12418
|
+
counter_last_2_days_at: 2010-06-14 00:00:00 Z
|
12419
|
+
counter_last_2_days: 1
|
12420
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 2
|
12421
|
+
WHERE id = 1
|
12422
|
+
[0m
|
12423
|
+
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12424
|
+
[4;35;1mCounter Load (0.2ms)[0m [0mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|
12425
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mBEGIN[0m
|
12426
|
+
[4;35;1mCounter Update (0.2ms)[0m [0mUPDATE `counters` SET `counter_data` = '--- \ncounter_last_monday_before_today: 3\ncounter_last_tuesday_before_today: 2\ncounter_last_day: 3\ncounter_last_day_at: 2010-06-15 00:00:00 Z\ncounter_last_wednesday_before_today: 3\ncounter_last_2_days: 1\ncounter_last_2_days_at: 2010-06-14 00:00:00 Z\n', `counter` = 4 WHERE `id` = 1[0m
|
12427
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mCOMMIT[0m
|
12428
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW TABLES[0m
|
12429
|
+
[4;36;1mSQL (0.0ms)[0m [0;1mSHOW FIELDS FROM `counters`[0m
|
12430
|
+
[4;35;1mSQL (0.0ms)[0m [0mSHOW FIELDS FROM `schema_migrations`[0m
|
12431
|
+
[4;36;1mSQL (0.0ms)[0m [0;1m SELECT id, counter, counter_data, counter_last_day, counter_last_2_days, counter_last_monday, counter_last_tuesday, counter_last_wednesday
|
12432
|
+
FROM counters
|
12433
|
+
[0m
|
12434
|
+
[4;35;1mSQL (0.0ms)[0m [0m UPDATE counters
|
12435
|
+
SET counter_last_monday = 2, counter_data = '---
|
12436
|
+
counter_last_monday_before_today: 4
|
12437
|
+
counter_last_tuesday_before_today: 4
|
12438
|
+
counter_last_day: 4
|
12439
|
+
counter_last_day_at: 2010-06-19 00:00:00 Z
|
12440
|
+
counter_last_wednesday_before_today: 4
|
12441
|
+
counter_last_2_days_at: 2010-06-19 00:00:00 Z
|
12442
|
+
counter_last_2_days: 4
|
12443
|
+
', counter_last_day = 0, counter_last_wednesday = 0, counter_last_tuesday = 1, counter_last_2_days = 0
|
12444
|
+
WHERE id = 1
|
10562
12445
|
[0m
|
10563
12446
|
[4;36;1mCounter Load (0.0ms)[0m [0;1mSELECT * FROM `counters` ORDER BY counters.id DESC LIMIT 1[0m
|