schedule_fu 0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +34 -0
  3. data/Rakefile +40 -0
  4. data/app/models/calendar.rb +26 -0
  5. data/app/models/calendar_date.rb +76 -0
  6. data/app/models/calendar_event.rb +157 -0
  7. data/app/models/calendar_event_date.rb +8 -0
  8. data/app/models/calendar_event_mod.rb +8 -0
  9. data/app/models/calendar_event_type.rb +3 -0
  10. data/app/models/calendar_recurrence.rb +9 -0
  11. data/config/routes.rb +2 -0
  12. data/db/migrate/20120121210741_add_schedule_fu_tables.rb +167 -0
  13. data/lib/schedule_fu.rb +8 -0
  14. data/lib/schedule_fu/calendar_helper.rb +247 -0
  15. data/lib/schedule_fu/engine.rb +5 -0
  16. data/lib/schedule_fu/finder.rb +16 -0
  17. data/lib/schedule_fu/parser.rb +108 -0
  18. data/lib/schedule_fu/schedule_fu_helper.rb +17 -0
  19. data/lib/schedule_fu/version.rb +3 -0
  20. data/lib/tasks/schedule_fu_tasks.rake +4 -0
  21. data/test/calendar_event_test.rb +229 -0
  22. data/test/dummy/README.rdoc +261 -0
  23. data/test/dummy/Rakefile +7 -0
  24. data/test/dummy/app/assets/javascripts/application.js +15 -0
  25. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  26. data/test/dummy/app/controllers/application_controller.rb +3 -0
  27. data/test/dummy/app/helpers/application_helper.rb +2 -0
  28. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  29. data/test/dummy/config.ru +4 -0
  30. data/test/dummy/config/application.rb +56 -0
  31. data/test/dummy/config/boot.rb +10 -0
  32. data/test/dummy/config/database.yml +9 -0
  33. data/test/dummy/config/environment.rb +5 -0
  34. data/test/dummy/config/environments/development.rb +37 -0
  35. data/test/dummy/config/environments/production.rb +67 -0
  36. data/test/dummy/config/environments/test.rb +37 -0
  37. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  38. data/test/dummy/config/initializers/inflections.rb +15 -0
  39. data/test/dummy/config/initializers/mime_types.rb +5 -0
  40. data/test/dummy/config/initializers/secret_token.rb +7 -0
  41. data/test/dummy/config/initializers/session_store.rb +8 -0
  42. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  43. data/test/dummy/config/locales/en.yml +5 -0
  44. data/test/dummy/config/routes.rb +4 -0
  45. data/test/dummy/db/migrate/20120121220057_add_schedule_fu_tables.schedule_fu.rb +168 -0
  46. data/test/dummy/db/schema.rb +82 -0
  47. data/test/dummy/log/development.log +283 -0
  48. data/test/dummy/log/test.log +2224 -0
  49. data/test/dummy/public/404.html +26 -0
  50. data/test/dummy/public/422.html +26 -0
  51. data/test/dummy/public/500.html +25 -0
  52. data/test/dummy/public/favicon.ico +0 -0
  53. data/test/dummy/script/rails +6 -0
  54. data/test/factories/calendar.rb +5 -0
  55. data/test/factories/calendar_event.rb +35 -0
  56. data/test/test_helper.rb +20 -0
  57. metadata +215 -0
@@ -0,0 +1,2224 @@
1
+  (0.1ms) BEGIN
2
+ SQL (0.3ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
3
+  (74.0ms) COMMIT
4
+  (0.2ms) BEGIN
5
+  (13.1ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
6
+ CalendarDate Load (0.4ms) SELECT `calendar_dates`.* FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
7
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 22, 3, '2012-01-22', 0)
8
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 23, 3, '2012-01-23', 1)
9
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 24, 3, '2012-01-24', 2)
10
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 25, 3, '2012-01-25', 3)
11
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 26, 3, '2012-01-26', 4)
12
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 27, 3, '2012-01-27', 5)
13
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 28, 3, '2012-01-28', 6)
14
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 29, 4, '2012-01-29', 0)
15
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 30, 4, '2012-01-30', 1)
16
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 31, 4, '2012-01-31', 2)
17
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 1, 0, '2012-02-01', 3)
18
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 2, 0, '2012-02-02', 4)
19
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 3, 0, '2012-02-03', 5)
20
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 4, 0, '2012-02-04', 6)
21
+ SQL (3.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 3, 2, 'some event description', '2012-02-04 21:58:13', NULL, NULL, '2012-01-22 21:58:13', NULL)
22
+ CalendarDate Load (5.8ms) SELECT `calendar_dates`.* FROM `calendar_dates` WHERE (value IN ('2011-01-22','2011-01-23','2011-01-24','2011-01-25','2011-01-26','2011-01-27','2011-01-28','2011-01-29','2011-01-30','2011-01-31','2011-02-01','2011-02-02','2011-02-03','2011-02-04','2011-02-05','2011-02-06','2011-02-07','2011-02-08','2011-02-09','2011-02-10','2011-02-11','2011-02-12','2011-02-13','2011-02-14','2011-02-15','2011-02-16','2011-02-17','2011-02-18','2011-02-19','2011-02-20','2011-02-21','2011-02-22','2011-02-23','2011-02-24','2011-02-25','2011-02-26','2011-02-27','2011-02-28','2011-03-01','2011-03-02','2011-03-03','2011-03-04','2011-03-05','2011-03-06','2011-03-07','2011-03-08','2011-03-09','2011-03-10','2011-03-11','2011-03-12','2011-03-13','2011-03-14','2011-03-15','2011-03-16','2011-03-17','2011-03-18','2011-03-19','2011-03-20','2011-03-21','2011-03-22','2011-03-23','2011-03-24','2011-03-25','2011-03-26','2011-03-27','2011-03-28','2011-03-29','2011-03-30','2011-03-31','2011-04-01','2011-04-02','2011-04-03','2011-04-04','2011-04-05','2011-04-06','2011-04-07','2011-04-08','2011-04-09','2011-04-10','2011-04-11','2011-04-12','2011-04-13','2011-04-14','2011-04-15','2011-04-16','2011-04-17','2011-04-18','2011-04-19','2011-04-20','2011-04-21','2011-04-22','2011-04-23','2011-04-24','2011-04-25','2011-04-26','2011-04-27','2011-04-28','2011-04-29','2011-04-30','2011-05-01','2011-05-02','2011-05-03','2011-05-04','2011-05-05','2011-05-06','2011-05-07','2011-05-08','2011-05-09','2011-05-10','2011-05-11','2011-05-12','2011-05-13','2011-05-14','2011-05-15','2011-05-16','2011-05-17','2011-05-18','2011-05-19','2011-05-20','2011-05-21','2011-05-22','2011-05-23','2011-05-24','2011-05-25','2011-05-26','2011-05-27','2011-05-28','2011-05-29','2011-05-30','2011-05-31','2011-06-01','2011-06-02','2011-06-03','2011-06-04','2011-06-05','2011-06-06','2011-06-07','2011-06-08','2011-06-09','2011-06-10','2011-06-11','2011-06-12','2011-06-13','2011-06-14','2011-06-15','2011-06-16','2011-06-17','2011-06-18','2011-06-19','2011-06-20','2011-06-21','2011-06-22','2011-06-23','2011-06-24','2011-06-25','2011-06-26','2011-06-27','2011-06-28','2011-06-29','2011-06-30','2011-07-01','2011-07-02','2011-07-03','2011-07-04','2011-07-05','2011-07-06','2011-07-07','2011-07-08','2011-07-09','2011-07-10','2011-07-11','2011-07-12','2011-07-13','2011-07-14','2011-07-15','2011-07-16','2011-07-17','2011-07-18','2011-07-19','2011-07-20','2011-07-21','2011-07-22','2011-07-23','2011-07-24','2011-07-25','2011-07-26','2011-07-27','2011-07-28','2011-07-29','2011-07-30','2011-07-31','2011-08-01','2011-08-02','2011-08-03','2011-08-04','2011-08-05','2011-08-06','2011-08-07','2011-08-08','2011-08-09','2011-08-10','2011-08-11','2011-08-12','2011-08-13','2011-08-14','2011-08-15','2011-08-16','2011-08-17','2011-08-18','2011-08-19','2011-08-20','2011-08-21','2011-08-22','2011-08-23','2011-08-24','2011-08-25','2011-08-26','2011-08-27','2011-08-28','2011-08-29','2011-08-30','2011-08-31','2011-09-01','2011-09-02','2011-09-03','2011-09-04','2011-09-05','2011-09-06','2011-09-07','2011-09-08','2011-09-09','2011-09-10','2011-09-11','2011-09-12','2011-09-13','2011-09-14','2011-09-15','2011-09-16','2011-09-17','2011-09-18','2011-09-19','2011-09-20','2011-09-21','2011-09-22','2011-09-23','2011-09-24','2011-09-25','2011-09-26','2011-09-27','2011-09-28','2011-09-29','2011-09-30','2011-10-01','2011-10-02','2011-10-03','2011-10-04','2011-10-05','2011-10-06','2011-10-07','2011-10-08','2011-10-09','2011-10-10','2011-10-11','2011-10-12','2011-10-13','2011-10-14','2011-10-15','2011-10-16','2011-10-17','2011-10-18','2011-10-19','2011-10-20','2011-10-21','2011-10-22','2011-10-23','2011-10-24','2011-10-25','2011-10-26','2011-10-27','2011-10-28','2011-10-29','2011-10-30','2011-10-31','2011-11-01','2011-11-02','2011-11-03','2011-11-04','2011-11-05','2011-11-06','2011-11-07','2011-11-08','2011-11-09','2011-11-10','2011-11-11','2011-11-12','2011-11-13','2011-11-14','2011-11-15','2011-11-16','2011-11-17','2011-11-18','2011-11-19','2011-11-20','2011-11-21','2011-11-22','2011-11-23','2011-11-24','2011-11-25','2011-11-26','2011-11-27','2011-11-28','2011-11-29','2011-11-30','2011-12-01','2011-12-02','2011-12-03','2011-12-04','2011-12-05','2011-12-06','2011-12-07','2011-12-08','2011-12-09','2011-12-10','2011-12-11','2011-12-12','2011-12-13','2011-12-14','2011-12-15','2011-12-16','2011-12-17','2011-12-18','2011-12-19','2011-12-20','2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21','2013-01-22','2013-01-23','2013-01-24','2013-01-25','2013-01-26','2013-01-27','2013-01-28','2013-01-29','2013-01-30','2013-01-31','2013-02-01','2013-02-02','2013-02-03','2013-02-04'))
23
+ CalendarEventType Load (3.5ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 3 LIMIT 1
24
+  (43.2ms) BEGIN
25
+ SQL (1.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 22, 3, '2011-01-22', 6)
26
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 1
27
+  (56.5ms) COMMIT
28
+  (1.4ms) BEGIN
29
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 23, 3, '2011-01-23', 0)
30
+  (115.0ms) COMMIT
31
+  (111.8ms) COMMIT
32
+  (0.3ms) BEGIN
33
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 24, 3, '2011-01-24', 1)
34
+ CalendarDate Load (47.2ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 1
35
+  (0.1ms) BEGIN
36
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
37
+  (69.0ms) COMMIT
38
+  (0.1ms) BEGIN
39
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 25, 3, '2011-01-25', 2)
40
+  (70.3ms) COMMIT
41
+  (0.1ms) BEGIN
42
+  (0.4ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
43
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 3, 3, 'some event description', '2012-02-04 21:58:14', NULL, NULL, '2012-01-22 21:58:14', NULL)
44
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 3 LIMIT 1
45
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 2
46
+  (97.5ms) COMMIT
47
+  (0.1ms) BEGIN
48
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 26, 3, '2011-01-26', 3)
49
+  (81.5ms) COMMIT
50
+  (1.2ms) SELECT COUNT(*) FROM `calendar_event_dates` WHERE `calendar_event_dates`.`calendar_event_id` = 2
51
+  (0.1ms) BEGIN
52
+ SQL (10.6ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
53
+  (97.9ms) COMMIT
54
+  (0.1ms) BEGIN
55
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 27, 3, '2011-01-27', 4)
56
+  (81.7ms) COMMIT
57
+  (0.1ms) BEGIN
58
+  (0.4ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
59
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 3, 4, 'some event description', '2012-02-04 21:58:14', NULL, NULL, '2012-01-22 21:58:14', NULL)
60
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 3 LIMIT 1
61
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 3
62
+  (86.1ms) COMMIT
63
+  (0.1ms) BEGIN
64
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 28, 3, '2011-01-28', 5)
65
+  (81.2ms) COMMIT
66
+  (0.3ms) SELECT COUNT(*) FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 3
67
+  (0.1ms) BEGIN
68
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
69
+  (86.1ms) COMMIT
70
+  (0.1ms) BEGIN
71
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 29, 4, '2011-01-29', 6)
72
+  (82.9ms) COMMIT
73
+  (0.1ms) BEGIN
74
+  (0.8ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21'))
75
+ CalendarDate Load (0.9ms) SELECT `calendar_dates`.* FROM `calendar_dates` WHERE (value IN ('2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21'))
76
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 14, 1, '2012-01-14', 6)
77
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 15, 2, '2012-01-15', 0)
78
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 16, 2, '2012-01-16', 1)
79
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 17, 2, '2012-01-17', 2)
80
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 18, 2, '2012-01-18', 3)
81
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 19, 2, '2012-01-19', 4)
82
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 20, 2, '2012-01-20', 5)
83
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 21, 2, '2012-01-21', 6)
84
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 5, 0, '2012-02-05', 0)
85
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 6, 0, '2012-02-06', 1)
86
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 7, 0, '2012-02-07', 2)
87
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 8, 1, '2012-02-08', 3)
88
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 9, 1, '2012-02-09', 4)
89
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 10, 1, '2012-02-10', 5)
90
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 11, 1, '2012-02-11', 6)
91
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 12, 1, '2012-02-12', 0)
92
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 13, 1, '2012-02-13', 1)
93
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 14, 1, '2012-02-14', 2)
94
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 15, 2, '2012-02-15', 3)
95
+  (86.4ms) COMMIT
96
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 16, 2, '2012-02-16', 4)
97
+  (1.6ms) BEGIN
98
+ SQL (1.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 17, 2, '2012-02-17', 5)
99
+ SQL (2.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 30, 4, '2011-01-30', 0)
100
+ SQL (0.7ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 18, 2, '2012-02-18', 6)
101
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 19, 2, '2012-02-19', 0)
102
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 20, 2, '2012-02-20', 1)
103
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 21, 2, '2012-02-21', 2)
104
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 22, 3, '2012-02-22', 3)
105
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 23, 3, '2012-02-23', 4)
106
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 24, 3, '2012-02-24', 5)
107
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 25, 3, '2012-02-25', 6)
108
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 26, 3, '2012-02-26', 0)
109
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 27, 3, '2012-02-27', 1)
110
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 28, 3, '2012-02-28', 2)
111
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 29, 4, '2012-02-29', 3)
112
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 1, 0, '2012-03-01', 4)
113
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 2, 0, '2012-03-02', 5)
114
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 3, 0, '2012-03-03', 6)
115
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 4, 0, '2012-03-04', 0)
116
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 5, 0, '2012-03-05', 1)
117
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 6, 0, '2012-03-06', 2)
118
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 7, 0, '2012-03-07', 3)
119
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 8, 1, '2012-03-08', 4)
120
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 9, 1, '2012-03-09', 5)
121
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 10, 1, '2012-03-10', 6)
122
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 11, 1, '2012-03-11', 0)
123
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 12, 1, '2012-03-12', 1)
124
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 13, 1, '2012-03-13', 2)
125
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 14, 1, '2012-03-14', 3)
126
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 15, 2, '2012-03-15', 4)
127
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 16, 2, '2012-03-16', 5)
128
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 17, 2, '2012-03-17', 6)
129
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 18, 2, '2012-03-18', 0)
130
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 19, 2, '2012-03-19', 1)
131
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 20, 2, '2012-03-20', 2)
132
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 21, 2, '2012-03-21', 3)
133
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 22, 3, '2012-03-22', 4)
134
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 23, 3, '2012-03-23', 5)
135
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 24, 3, '2012-03-24', 6)
136
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 25, 3, '2012-03-25', 0)
137
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 26, 3, '2012-03-26', 1)
138
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 27, 3, '2012-03-27', 2)
139
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 28, 3, '2012-03-28', 3)
140
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 29, 4, '2012-03-29', 4)
141
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 30, 4, '2012-03-30', 5)
142
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 31, 4, '2012-03-31', 6)
143
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 1, 0, '2012-04-01', 0)
144
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 2, 0, '2012-04-02', 1)
145
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 3, 0, '2012-04-03', 2)
146
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 4, 0, '2012-04-04', 3)
147
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 5, 0, '2012-04-05', 4)
148
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 6, 0, '2012-04-06', 5)
149
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 7, 0, '2012-04-07', 6)
150
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 8, 1, '2012-04-08', 0)
151
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 9, 1, '2012-04-09', 1)
152
+  (84.1ms) COMMIT
153
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 10, 1, '2012-04-10', 2)
154
+  (1.5ms) BEGIN
155
+ SQL (1.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 11, 1, '2012-04-11', 3)
156
+ SQL (1.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 31, 4, '2011-01-31', 1)
157
+ SQL (0.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 12, 1, '2012-04-12', 4)
158
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 13, 1, '2012-04-13', 5)
159
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 14, 1, '2012-04-14', 6)
160
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 15, 2, '2012-04-15', 0)
161
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 16, 2, '2012-04-16', 1)
162
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 17, 2, '2012-04-17', 2)
163
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 18, 2, '2012-04-18', 3)
164
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 19, 2, '2012-04-19', 4)
165
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 20, 2, '2012-04-20', 5)
166
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 21, 2, '2012-04-21', 6)
167
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 22, 3, '2012-04-22', 0)
168
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 23, 3, '2012-04-23', 1)
169
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 4, 24, 3, '2012-04-24', 2)
170
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 4, 25, 3, '2012-04-25', 3)
171
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 4, 26, 3, '2012-04-26', 4)
172
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 4, 27, 3, '2012-04-27', 5)
173
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 4, 28, 3, '2012-04-28', 6)
174
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 4, 29, 4, '2012-04-29', 0)
175
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 4, 30, 4, '2012-04-30', 1)
176
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 1, 0, '2012-05-01', 2)
177
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 2, 0, '2012-05-02', 3)
178
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 3, 0, '2012-05-03', 4)
179
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 4, 0, '2012-05-04', 5)
180
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 5, 0, '2012-05-05', 6)
181
+  (38.6ms) COMMIT
182
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 6, 0, '2012-05-06', 0)
183
+  (1.4ms) BEGIN
184
+ SQL (1.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 7, 0, '2012-05-07', 1)
185
+ SQL (1.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 1, 0, '2011-02-01', 2)
186
+ SQL (0.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 8, 1, '2012-05-08', 2)
187
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 9, 1, '2012-05-09', 3)
188
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 10, 1, '2012-05-10', 4)
189
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 11, 1, '2012-05-11', 5)
190
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 12, 1, '2012-05-12', 6)
191
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 13, 1, '2012-05-13', 0)
192
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 14, 1, '2012-05-14', 1)
193
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 15, 2, '2012-05-15', 2)
194
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 16, 2, '2012-05-16', 3)
195
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 17, 2, '2012-05-17', 4)
196
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 18, 2, '2012-05-18', 5)
197
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 19, 2, '2012-05-19', 6)
198
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 20, 2, '2012-05-20', 0)
199
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 21, 2, '2012-05-21', 1)
200
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 22, 3, '2012-05-22', 2)
201
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 23, 3, '2012-05-23', 3)
202
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 24, 3, '2012-05-24', 4)
203
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 5, 25, 3, '2012-05-25', 5)
204
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 5, 26, 3, '2012-05-26', 6)
205
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 5, 27, 3, '2012-05-27', 0)
206
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 5, 28, 3, '2012-05-28', 1)
207
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 5, 29, 4, '2012-05-29', 2)
208
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 5, 30, 4, '2012-05-30', 3)
209
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 5, 31, 4, '2012-05-31', 4)
210
+  (40.1ms) COMMIT
211
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 1, 0, '2012-06-01', 5)
212
+  (1.5ms) BEGIN
213
+ SQL (1.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 2, 0, '2012-06-02', 6)
214
+ SQL (1.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 2, 0, '2011-02-02', 3)
215
+ SQL (0.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 3, 0, '2012-06-03', 0)
216
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 4, 0, '2012-06-04', 1)
217
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 5, 0, '2012-06-05', 2)
218
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 6, 0, '2012-06-06', 3)
219
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 7, 0, '2012-06-07', 4)
220
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 8, 1, '2012-06-08', 5)
221
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 9, 1, '2012-06-09', 6)
222
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 10, 1, '2012-06-10', 0)
223
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 11, 1, '2012-06-11', 1)
224
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 12, 1, '2012-06-12', 2)
225
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 13, 1, '2012-06-13', 3)
226
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 14, 1, '2012-06-14', 4)
227
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 15, 2, '2012-06-15', 5)
228
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 16, 2, '2012-06-16', 6)
229
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 17, 2, '2012-06-17', 0)
230
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 18, 2, '2012-06-18', 1)
231
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 19, 2, '2012-06-19', 2)
232
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 20, 2, '2012-06-20', 3)
233
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 21, 2, '2012-06-21', 4)
234
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (1, 5, 5, 'some event description', '2012-06-21 21:58:14', NULL, NULL, '2012-01-14 21:58:14', NULL)
235
+ CalendarEventType Load (0.3ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 5 LIMIT 1
236
+  (39.3ms) COMMIT
237
+  (0.1ms) BEGIN
238
+ SQL (1.8ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 3, 0, '2011-02-03', 4)
239
+ CalendarRecurrence Load (0.8ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
240
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
241
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
242
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
243
+ CalendarRecurrence Load (0.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
244
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
245
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
246
+ CalendarRecurrence Load (0.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4
247
+ CalendarEvent Load (0.4ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 4 LIMIT 1
248
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (4, 1, 14, 1, 6)
249
+  (38.8ms) COMMIT
250
+  (0.1ms) BEGIN
251
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 4, 0, '2011-02-04', 5)
252
+  (54.8ms) COMMIT
253
+  (0.5ms) SELECT COUNT(*) FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4
254
+  (0.1ms) BEGIN
255
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
256
+  (86.4ms) COMMIT
257
+  (0.1ms) BEGIN
258
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 5, 0, '2011-02-05', 6)
259
+  (72.9ms) COMMIT
260
+  (0.1ms) BEGIN
261
+  (1.6ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21'))
262
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (1, 5, 6, 'some event description', '2012-06-21 21:58:15', NULL, NULL, '2012-01-14 21:58:15', NULL)
263
+ CalendarEventType Load (0.2ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 5 LIMIT 1
264
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 5 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
265
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 5 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
266
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 5 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
267
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 5 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
268
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 5 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
269
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 5 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
270
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 5 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
271
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 5
272
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 5 LIMIT 1
273
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (5, 1, 14, 1, 6)
274
+  (86.2ms) COMMIT
275
+  (0.1ms) BEGIN
276
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 6, 0, '2011-02-06', 0)
277
+  (60.4ms) COMMIT
278
+  (5.8ms) SELECT COUNT(*) FROM `calendar_event_dates` WHERE `calendar_event_dates`.`calendar_event_id` = 5
279
+  (0.1ms) BEGIN
280
+ SQL (0.3ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
281
+  (86.5ms) COMMIT
282
+  (0.1ms) BEGIN
283
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 7, 0, '2011-02-07', 1)
284
+  (77.5ms) COMMIT
285
+  (0.1ms) BEGIN
286
+  (1.3ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21'))
287
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (1, 5, 7, 'some event description', '2012-06-21 21:58:15', NULL, NULL, '2012-01-14 21:58:15', NULL)
288
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 5 LIMIT 1
289
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 6 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
290
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 6 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
291
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 6 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
292
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 6 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
293
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 6 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
294
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 6 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
295
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 6 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
296
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 6
297
+ CalendarEvent Load (0.4ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 6 LIMIT 1
298
+ SQL (0.4ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (6, 1, 14, 1, 6)
299
+  (85.9ms) COMMIT
300
+  (0.2ms) BEGIN
301
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 8, 1, '2011-02-08', 2)
302
+  (60.5ms) COMMIT
303
+ CalendarDate Load (7.3ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 6
304
+  (0.1ms) BEGIN
305
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
306
+  (96.8ms) COMMIT
307
+  (0.1ms) BEGIN
308
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 9, 1, '2011-02-09', 3)
309
+  (98.8ms) COMMIT
310
+  (0.1ms) BEGIN
311
+  (1.5ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21'))
312
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 5, 8, 'some event description', '2012-06-21 21:58:15', NULL, NULL, '2012-01-14 21:58:15', NULL)
313
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 5 LIMIT 1
314
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
315
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
316
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
317
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
318
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
319
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
320
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
321
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7
322
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 7 LIMIT 1
323
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (7, 1, 14, 1, 6)
324
+  (110.1ms) COMMIT
325
+  (0.1ms) BEGIN
326
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 10, 1, '2011-02-10', 4)
327
+  (83.0ms) COMMIT
328
+  (0.4ms) SELECT COUNT(*) FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7
329
+  (0.1ms) BEGIN
330
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
331
+  (108.1ms) COMMIT
332
+  (0.1ms) BEGIN
333
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 11, 1, '2011-02-11', 5)
334
+  (94.3ms) COMMIT
335
+  (0.1ms) BEGIN
336
+  (1.3ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21'))
337
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 5, 9, 'some event description', '2012-06-21 21:58:15', NULL, NULL, '2012-01-14 21:58:15', NULL)
338
+ CalendarEventType Load (0.2ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 5 LIMIT 1
339
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 8 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
340
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 8 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
341
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 8 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
342
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 8 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
343
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 8 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
344
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 8 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
345
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 8 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
346
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 8
347
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 8 LIMIT 1
348
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (8, 1, 14, 1, 6)
349
+  (86.3ms) COMMIT
350
+  (0.1ms) BEGIN
351
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 12, 1, '2011-02-12', 6)
352
+  (61.9ms) COMMIT
353
+  (6.8ms) SELECT COUNT(*) FROM `calendar_event_dates` WHERE `calendar_event_dates`.`calendar_event_id` = 8
354
+  (0.1ms) BEGIN
355
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
356
+  (86.3ms) COMMIT
357
+  (0.1ms) BEGIN
358
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 13, 1, '2011-02-13', 0)
359
+  (76.2ms) COMMIT
360
+  (0.1ms) BEGIN
361
+  (1.3ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21'))
362
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 5, 10, 'some event description', '2012-06-21 21:58:16', NULL, NULL, '2012-01-14 21:58:16', NULL)
363
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 5 LIMIT 1
364
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 9 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
365
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 9 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
366
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 9 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
367
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 9 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
368
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 9 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
369
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 9 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
370
+  (102.9ms) COMMIT
371
+  (0.2ms) BEGIN
372
+ CalendarRecurrence Load (3.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 9 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
373
+ SQL (0.9ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 14, 1, '2011-02-14', 1)
374
+ CalendarRecurrence Load (0.7ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 9
375
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 9 LIMIT 1
376
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (9, 1, 14, 1, 6)
377
+  (45.2ms) COMMIT
378
+  (0.1ms) BEGIN
379
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 15, 2, '2011-02-15', 2)
380
+  (85.0ms) COMMIT
381
+ CalendarDate Load (7.6ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 9
382
+  (0.1ms) BEGIN
383
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
384
+  (86.1ms) COMMIT
385
+  (0.1ms) BEGIN
386
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 16, 2, '2011-02-16', 3)
387
+  (74.6ms) COMMIT
388
+  (0.1ms) BEGIN
389
+  (1.7ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21'))
390
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 5, 11, 'some event description', '2012-06-21 21:58:16', NULL, NULL, '2012-01-14 21:58:16', NULL)
391
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 5 LIMIT 1
392
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 10 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
393
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 10 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
394
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 10 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
395
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 10 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
396
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 10 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
397
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 10 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
398
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 10 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
399
+ CalendarRecurrence Load (0.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 10
400
+ CalendarEvent Load (0.4ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 10 LIMIT 1
401
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (10, 1, 14, 1, 6)
402
+  (86.2ms) COMMIT
403
+  (0.1ms) BEGIN
404
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 17, 2, '2011-02-17', 4)
405
+  (60.4ms) COMMIT
406
+ CalendarDate Load (8.0ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 10
407
+  (0.1ms) BEGIN
408
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
409
+  (85.9ms) COMMIT
410
+  (0.1ms) BEGIN
411
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 18, 2, '2011-02-18', 5)
412
+  (74.2ms) COMMIT
413
+  (0.1ms) BEGIN
414
+  (0.4ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
415
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 1, 12, 'some event description', '2012-02-04 21:58:16', NULL, NULL, '2012-01-22 21:58:16', NULL)
416
+ CalendarEventType Load (0.3ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 1 LIMIT 1
417
+ CalendarRecurrence Load (0.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 11
418
+  (86.3ms) COMMIT
419
+  (0.1ms) BEGIN
420
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 19, 2, '2011-02-19', 6)
421
+  (81.3ms) COMMIT
422
+  (5.6ms) SELECT COUNT(*) FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 11
423
+ CalendarDate Load (1.2ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 11 LIMIT 1
424
+  (0.1ms) BEGIN
425
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
426
+  (86.6ms) COMMIT
427
+  (0.1ms) BEGIN
428
+ SQL (0.9ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 20, 2, '2011-02-20', 0)
429
+  (75.0ms) COMMIT
430
+  (0.1ms) BEGIN
431
+  (0.5ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
432
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 1, 13, 'some event description', '2012-02-04 21:58:16', NULL, NULL, '2012-01-22 21:58:16', NULL)
433
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 1 LIMIT 1
434
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 12
435
+  (85.6ms) COMMIT
436
+  (0.1ms) BEGIN
437
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 21, 2, '2011-02-21', 1)
438
+  (81.5ms) COMMIT
439
+  (0.7ms) SELECT COUNT(*) FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 12
440
+  (0.1ms) BEGIN
441
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
442
+  (86.5ms) COMMIT
443
+  (0.1ms) BEGIN
444
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 22, 3, '2011-02-22', 2)
445
+  (82.6ms) COMMIT
446
+  (0.1ms) BEGIN
447
+  (0.4ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
448
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 2, 14, 'some event description', '2012-02-04 21:58:16', NULL, NULL, '2012-01-22 21:58:16', NULL)
449
+ CalendarEventType Load (0.3ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 2 LIMIT 1
450
+ CalendarRecurrence Load (0.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 13
451
+  (86.3ms) COMMIT
452
+  (0.1ms) BEGIN
453
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 23, 3, '2011-02-23', 3)
454
+  (81.5ms) COMMIT
455
+ CalendarDate Load (6.6ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 13
456
+  (5.2ms) SELECT COUNT(*) FROM `calendar_event_dates` WHERE `calendar_event_dates`.`calendar_event_id` = 13
457
+  (0.1ms) BEGIN
458
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
459
+  (86.4ms) COMMIT
460
+  (0.1ms) BEGIN
461
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 24, 3, '2011-02-24', 4)
462
+  (69.3ms) COMMIT
463
+  (0.1ms) BEGIN
464
+  (0.4ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
465
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 2, 15, 'some event description', '2012-02-04 21:58:17', NULL, NULL, '2012-01-22 21:58:17', NULL)
466
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 2 LIMIT 1
467
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 14
468
+  (86.2ms) COMMIT
469
+  (0.1ms) BEGIN
470
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 25, 3, '2011-02-25', 5)
471
+  (81.8ms) COMMIT
472
+ CalendarDate Load (7.0ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 14
473
+  (0.1ms) BEGIN
474
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
475
+  (97.6ms) COMMIT
476
+  (0.1ms) BEGIN
477
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 26, 3, '2011-02-26', 6)
478
+  (87.1ms) COMMIT
479
+  (0.1ms) BEGIN
480
+  (0.6ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
481
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 2, 16, 'some event description', '2012-02-04 21:58:17', NULL, NULL, '2012-01-22 21:58:17', NULL)
482
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 2 LIMIT 1
483
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 15
484
+  (97.3ms) COMMIT
485
+  (0.1ms) BEGIN
486
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 27, 3, '2011-02-27', 0)
487
+  (102.6ms) COMMIT
488
+ CalendarDate Load (6.7ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 15
489
+  (0.4ms) SELECT COUNT(*) FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 15
490
+  (0.2ms) BEGIN
491
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
492
+  (108.6ms) COMMIT
493
+  (0.1ms) BEGIN
494
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 28, 3, '2011-02-28', 1)
495
+  (95.8ms) COMMIT
496
+  (0.1ms) BEGIN
497
+  (0.5ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
498
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 2, 17, 'some event description', '2012-02-04 21:58:17', NULL, NULL, '2012-01-22 21:58:17', NULL)
499
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 2 LIMIT 1
500
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 16
501
+  (108.6ms) COMMIT
502
+  (0.1ms) BEGIN
503
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 1, 0, '2011-03-01', 2)
504
+  (103.4ms) COMMIT
505
+ CalendarDate Load (6.3ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 16
506
+  (0.1ms) BEGIN
507
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
508
+  (109.7ms) COMMIT
509
+  (0.1ms) BEGIN
510
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 2, 0, '2011-03-02', 3)
511
+  (87.2ms) COMMIT
512
+  (0.1ms) BEGIN
513
+  (0.5ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
514
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 4, 18, 'some event description', '2012-02-04 21:58:17', NULL, NULL, '2012-01-22 21:58:17', NULL)
515
+ CalendarEventType Load (0.5ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 4 LIMIT 1
516
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 17
517
+ CalendarEvent Load (0.5ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 17 LIMIT 1
518
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (17, NULL, NULL, NULL, 1)
519
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 17 LIMIT 1
520
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (17, NULL, NULL, NULL, 3)
521
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 17 LIMIT 1
522
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (17, NULL, NULL, NULL, 5)
523
+  (86.3ms) COMMIT
524
+  (0.1ms) BEGIN
525
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 3, 0, '2011-03-03', 4)
526
+  (69.8ms) COMMIT
527
+ CalendarDate Load (7.4ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 17
528
+  (0.1ms) BEGIN
529
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
530
+  (86.6ms) COMMIT
531
+  (0.1ms) BEGIN
532
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 4, 0, '2011-03-04', 5)
533
+  (74.7ms) COMMIT
534
+  (0.1ms) BEGIN
535
+  (0.4ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
536
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 4, 19, 'some event description', '2012-02-04 21:58:17', NULL, NULL, '2012-01-22 21:58:17', NULL)
537
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 4 LIMIT 1
538
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 18
539
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 18 LIMIT 1
540
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (18, NULL, NULL, NULL, 1)
541
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 18 LIMIT 1
542
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (18, NULL, NULL, NULL, 3)
543
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 18 LIMIT 1
544
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (18, NULL, NULL, NULL, 5)
545
+  (86.1ms) COMMIT
546
+  (0.1ms) BEGIN
547
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 5, 0, '2011-03-05', 6)
548
+  (71.8ms) COMMIT
549
+ CalendarDate Load (6.8ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 18
550
+  (0.3ms) SELECT COUNT(*) FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 18
551
+  (0.1ms) BEGIN
552
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
553
+  (86.0ms) COMMIT
554
+  (0.1ms) BEGIN
555
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 6, 0, '2011-03-06', 0)
556
+  (73.4ms) COMMIT
557
+  (0.1ms) BEGIN
558
+  (0.4ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
559
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 4, 20, 'some event description', '2012-02-04 21:58:18', NULL, NULL, '2012-01-22 21:58:18', NULL)
560
+ CalendarEventType Load (0.4ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 4 LIMIT 1
561
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 19
562
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 19 LIMIT 1
563
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (19, NULL, NULL, NULL, 1)
564
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 19 LIMIT 1
565
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (19, NULL, NULL, NULL, 3)
566
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 19 LIMIT 1
567
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (19, NULL, NULL, NULL, 5)
568
+  (86.1ms) COMMIT
569
+  (0.1ms) BEGIN
570
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 7, 0, '2011-03-07', 1)
571
+  (71.4ms) COMMIT
572
+ CalendarDate Load (7.7ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 19
573
+  (6.1ms) SELECT COUNT(*) FROM `calendar_event_dates` WHERE `calendar_event_dates`.`calendar_event_id` = 19
574
+  (0.1ms) BEGIN
575
+ SQL (0.3ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
576
+  (86.7ms) COMMIT
577
+  (0.1ms) BEGIN
578
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 8, 1, '2011-03-08', 2)
579
+  (63.4ms) COMMIT
580
+  (0.1ms) BEGIN
581
+  (0.4ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
582
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 4, 21, 'some event description', '2012-02-04 21:58:18', NULL, NULL, '2012-01-22 21:58:18', NULL)
583
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 4 LIMIT 1
584
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 20
585
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 20 LIMIT 1
586
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (20, NULL, NULL, NULL, 1)
587
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 20 LIMIT 1
588
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (20, NULL, NULL, NULL, 3)
589
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 20 LIMIT 1
590
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (20, NULL, NULL, NULL, 5)
591
+  (86.2ms) COMMIT
592
+  (0.1ms) BEGIN
593
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 9, 1, '2011-03-09', 3)
594
+  (71.0ms) COMMIT
595
+ CalendarDate Load (8.0ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 20
596
+  (0.1ms) BEGIN
597
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
598
+  (86.5ms) COMMIT
599
+  (0.1ms) BEGIN
600
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 10, 1, '2011-03-10', 4)
601
+  (74.3ms) COMMIT
602
+  (0.1ms) BEGIN
603
+  (1.9ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
604
+ CalendarDate Load (2.0ms) SELECT `calendar_dates`.* FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
605
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 21, 2, '2011-12-21', 3)
606
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 22, 3, '2011-12-22', 4)
607
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 23, 3, '2011-12-23', 5)
608
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 24, 3, '2011-12-24', 6)
609
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 25, 3, '2011-12-25', 0)
610
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 26, 3, '2011-12-26', 1)
611
+  (86.5ms) COMMIT
612
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 27, 3, '2011-12-27', 2)
613
+  (1.4ms) BEGIN
614
+ SQL (1.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 28, 3, '2011-12-28', 3)
615
+ SQL (1.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 11, 1, '2011-03-11', 5)
616
+ SQL (0.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 29, 4, '2011-12-29', 4)
617
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 30, 4, '2011-12-30', 5)
618
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 31, 4, '2011-12-31', 6)
619
+ SQL (0.7ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 1, 0, '2012-01-01', 0)
620
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 2, 0, '2012-01-02', 1)
621
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 3, 0, '2012-01-03', 2)
622
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 4, 0, '2012-01-04', 3)
623
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 5, 0, '2012-01-05', 4)
624
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 6, 0, '2012-01-06', 5)
625
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 7, 0, '2012-01-07', 6)
626
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 8, 1, '2012-01-08', 0)
627
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 9, 1, '2012-01-09', 1)
628
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 10, 1, '2012-01-10', 2)
629
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 11, 1, '2012-01-11', 3)
630
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 12, 1, '2012-01-12', 4)
631
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 13, 1, '2012-01-13', 5)
632
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 22, 3, '2012-06-22', 5)
633
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 23, 3, '2012-06-23', 6)
634
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 6, 24, 3, '2012-06-24', 0)
635
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 6, 25, 3, '2012-06-25', 1)
636
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 6, 26, 3, '2012-06-26', 2)
637
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 6, 27, 3, '2012-06-27', 3)
638
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 6, 28, 3, '2012-06-28', 4)
639
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 6, 29, 4, '2012-06-29', 5)
640
+  (39.6ms) COMMIT
641
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 6, 30, 4, '2012-06-30', 6)
642
+  (1.5ms) BEGIN
643
+ SQL (1.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 1, 0, '2012-07-01', 0)
644
+ SQL (2.0ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 12, 1, '2011-03-12', 6)
645
+ SQL (1.1ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 2, 0, '2012-07-02', 1)
646
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 3, 0, '2012-07-03', 2)
647
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 4, 0, '2012-07-04', 3)
648
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 5, 0, '2012-07-05', 4)
649
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 6, 0, '2012-07-06', 5)
650
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 7, 0, '2012-07-07', 6)
651
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 8, 1, '2012-07-08', 0)
652
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 9, 1, '2012-07-09', 1)
653
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 10, 1, '2012-07-10', 2)
654
+ SQL (0.7ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 11, 1, '2012-07-11', 3)
655
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 12, 1, '2012-07-12', 4)
656
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 13, 1, '2012-07-13', 5)
657
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 14, 1, '2012-07-14', 6)
658
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 15, 2, '2012-07-15', 0)
659
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 16, 2, '2012-07-16', 1)
660
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 17, 2, '2012-07-17', 2)
661
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 18, 2, '2012-07-18', 3)
662
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 19, 2, '2012-07-19', 4)
663
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 20, 2, '2012-07-20', 5)
664
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 21, 2, '2012-07-21', 6)
665
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 22, 3, '2012-07-22', 0)
666
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 23, 3, '2012-07-23', 1)
667
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 24, 3, '2012-07-24', 2)
668
+  (38.7ms) COMMIT
669
+  (0.1ms) BEGIN
670
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 13, 1, '2011-03-13', 0)
671
+ SQL (3.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 7, 25, 3, '2012-07-25', 3)
672
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 7, 26, 3, '2012-07-26', 4)
673
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 7, 27, 3, '2012-07-27', 5)
674
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 7, 28, 3, '2012-07-28', 6)
675
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 7, 29, 4, '2012-07-29', 0)
676
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 7, 30, 4, '2012-07-30', 1)
677
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 7, 31, 4, '2012-07-31', 2)
678
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 1, 0, '2012-08-01', 3)
679
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 2, 0, '2012-08-02', 4)
680
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 3, 0, '2012-08-03', 5)
681
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 4, 0, '2012-08-04', 6)
682
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 5, 0, '2012-08-05', 0)
683
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 6, 0, '2012-08-06', 1)
684
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 7, 0, '2012-08-07', 2)
685
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 8, 1, '2012-08-08', 3)
686
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 9, 1, '2012-08-09', 4)
687
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 10, 1, '2012-08-10', 5)
688
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 11, 1, '2012-08-11', 6)
689
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 12, 1, '2012-08-12', 0)
690
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 13, 1, '2012-08-13', 1)
691
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 14, 1, '2012-08-14', 2)
692
+ SQL (0.7ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 15, 2, '2012-08-15', 3)
693
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 16, 2, '2012-08-16', 4)
694
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 17, 2, '2012-08-17', 5)
695
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 18, 2, '2012-08-18', 6)
696
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 19, 2, '2012-08-19', 0)
697
+  (42.7ms) COMMIT
698
+ SQL (0.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 20, 2, '2012-08-20', 1)
699
+  (1.5ms) BEGIN
700
+ SQL (1.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 21, 2, '2012-08-21', 2)
701
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 14, 1, '2011-03-14', 1)
702
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 22, 3, '2012-08-22', 3)
703
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 23, 3, '2012-08-23', 4)
704
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 24, 3, '2012-08-24', 5)
705
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 8, 25, 3, '2012-08-25', 6)
706
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 8, 26, 3, '2012-08-26', 0)
707
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 8, 27, 3, '2012-08-27', 1)
708
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 8, 28, 3, '2012-08-28', 2)
709
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 8, 29, 4, '2012-08-29', 3)
710
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 8, 30, 4, '2012-08-30', 4)
711
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 8, 31, 4, '2012-08-31', 5)
712
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 1, 0, '2012-09-01', 6)
713
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 2, 0, '2012-09-02', 0)
714
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 3, 0, '2012-09-03', 1)
715
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 4, 0, '2012-09-04', 2)
716
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 5, 0, '2012-09-05', 3)
717
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 6, 0, '2012-09-06', 4)
718
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 7, 0, '2012-09-07', 5)
719
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 8, 1, '2012-09-08', 6)
720
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 9, 1, '2012-09-09', 0)
721
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 10, 1, '2012-09-10', 1)
722
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 11, 1, '2012-09-11', 2)
723
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 12, 1, '2012-09-12', 3)
724
+  (61.0ms) COMMIT
725
+  (0.1ms) BEGIN
726
+ SQL (1.9ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 13, 1, '2012-09-13', 4)
727
+ SQL (2.1ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 15, 2, '2011-03-15', 2)
728
+ SQL (0.9ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 14, 1, '2012-09-14', 5)
729
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 15, 2, '2012-09-15', 6)
730
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 16, 2, '2012-09-16', 0)
731
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 17, 2, '2012-09-17', 1)
732
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 18, 2, '2012-09-18', 2)
733
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 19, 2, '2012-09-19', 3)
734
+ SQL (0.8ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 20, 2, '2012-09-20', 4)
735
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 21, 2, '2012-09-21', 5)
736
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 22, 3, '2012-09-22', 6)
737
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 23, 3, '2012-09-23', 0)
738
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 9, 24, 3, '2012-09-24', 1)
739
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 9, 25, 3, '2012-09-25', 2)
740
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 9, 26, 3, '2012-09-26', 3)
741
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 9, 27, 3, '2012-09-27', 4)
742
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 9, 28, 3, '2012-09-28', 5)
743
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 9, 29, 4, '2012-09-29', 6)
744
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 9, 30, 4, '2012-09-30', 0)
745
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 1, 0, '2012-10-01', 1)
746
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 2, 0, '2012-10-02', 2)
747
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 3, 0, '2012-10-03', 3)
748
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 4, 0, '2012-10-04', 4)
749
+  (40.5ms) COMMIT
750
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 5, 0, '2012-10-05', 5)
751
+  (0.2ms) BEGIN
752
+ SQL (1.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 6, 0, '2012-10-06', 6)
753
+ SQL (3.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 16, 2, '2011-03-16', 3)
754
+ SQL (1.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 7, 0, '2012-10-07', 0)
755
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 8, 1, '2012-10-08', 1)
756
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 9, 1, '2012-10-09', 2)
757
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 10, 1, '2012-10-10', 3)
758
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 11, 1, '2012-10-11', 4)
759
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 12, 1, '2012-10-12', 5)
760
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 13, 1, '2012-10-13', 6)
761
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 14, 1, '2012-10-14', 0)
762
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 15, 2, '2012-10-15', 1)
763
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 16, 2, '2012-10-16', 2)
764
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 17, 2, '2012-10-17', 3)
765
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 18, 2, '2012-10-18', 4)
766
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 19, 2, '2012-10-19', 5)
767
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 20, 2, '2012-10-20', 6)
768
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 21, 2, '2012-10-21', 0)
769
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 22, 3, '2012-10-22', 1)
770
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 23, 3, '2012-10-23', 2)
771
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 24, 3, '2012-10-24', 3)
772
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 10, 25, 3, '2012-10-25', 4)
773
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 10, 26, 3, '2012-10-26', 5)
774
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 10, 27, 3, '2012-10-27', 6)
775
+  (36.5ms) COMMIT
776
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 10, 28, 3, '2012-10-28', 0)
777
+  (0.2ms) BEGIN
778
+ SQL (1.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 10, 29, 4, '2012-10-29', 1)
779
+ SQL (2.1ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 17, 2, '2011-03-17', 4)
780
+ SQL (0.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 10, 30, 4, '2012-10-30', 2)
781
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 10, 31, 4, '2012-10-31', 3)
782
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 1, 0, '2012-11-01', 4)
783
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 2, 0, '2012-11-02', 5)
784
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 3, 0, '2012-11-03', 6)
785
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 4, 0, '2012-11-04', 0)
786
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 5, 0, '2012-11-05', 1)
787
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 6, 0, '2012-11-06', 2)
788
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 7, 0, '2012-11-07', 3)
789
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 8, 1, '2012-11-08', 4)
790
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 9, 1, '2012-11-09', 5)
791
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 10, 1, '2012-11-10', 6)
792
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 11, 1, '2012-11-11', 0)
793
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 12, 1, '2012-11-12', 1)
794
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 13, 1, '2012-11-13', 2)
795
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 14, 1, '2012-11-14', 3)
796
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 15, 2, '2012-11-15', 4)
797
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 16, 2, '2012-11-16', 5)
798
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 17, 2, '2012-11-17', 6)
799
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 18, 2, '2012-11-18', 0)
800
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 19, 2, '2012-11-19', 1)
801
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 20, 2, '2012-11-20', 2)
802
+  (37.5ms) COMMIT
803
+ SQL (1.0ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 21, 2, '2012-11-21', 3)
804
+  (0.3ms) BEGIN
805
+ SQL (1.1ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 22, 3, '2012-11-22', 4)
806
+ SQL (1.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 18, 2, '2011-03-18', 5)
807
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 23, 3, '2012-11-23', 5)
808
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 11, 24, 3, '2012-11-24', 6)
809
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 11, 25, 3, '2012-11-25', 0)
810
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 11, 26, 3, '2012-11-26', 1)
811
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 11, 27, 3, '2012-11-27', 2)
812
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 11, 28, 3, '2012-11-28', 3)
813
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 11, 29, 4, '2012-11-29', 4)
814
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 11, 30, 4, '2012-11-30', 5)
815
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 1, 0, '2012-12-01', 6)
816
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 2, 0, '2012-12-02', 0)
817
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 3, 0, '2012-12-03', 1)
818
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 4, 0, '2012-12-04', 2)
819
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 5, 0, '2012-12-05', 3)
820
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 6, 0, '2012-12-06', 4)
821
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 7, 0, '2012-12-07', 5)
822
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 8, 1, '2012-12-08', 6)
823
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 9, 1, '2012-12-09', 0)
824
+ SQL (1.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 10, 1, '2012-12-10', 1)
825
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 11, 1, '2012-12-11', 2)
826
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 12, 1, '2012-12-12', 3)
827
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 13, 1, '2012-12-13', 4)
828
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 14, 1, '2012-12-14', 5)
829
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 15, 2, '2012-12-15', 6)
830
+  (40.5ms) COMMIT
831
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 16, 2, '2012-12-16', 0)
832
+  (1.7ms) BEGIN
833
+ SQL (1.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 17, 2, '2012-12-17', 1)
834
+ SQL (1.7ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 19, 2, '2011-03-19', 6)
835
+ SQL (2.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 18, 2, '2012-12-18', 2)
836
+ SQL (12.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 19, 2, '2012-12-19', 3)
837
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 20, 2, '2012-12-20', 4)
838
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 21, 2, '2012-12-21', 5)
839
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 22, 3, '2012-12-22', 6)
840
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 23, 3, '2012-12-23', 0)
841
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 24, 3, '2012-12-24', 1)
842
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 25, 3, '2012-12-25', 2)
843
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 26, 3, '2012-12-26', 3)
844
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 27, 3, '2012-12-27', 4)
845
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 28, 3, '2012-12-28', 5)
846
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 29, 4, '2012-12-29', 6)
847
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 30, 4, '2012-12-30', 0)
848
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 31, 4, '2012-12-31', 1)
849
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 1, 0, '2013-01-01', 2)
850
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 2, 0, '2013-01-02', 3)
851
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 3, 0, '2013-01-03', 4)
852
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 4, 0, '2013-01-04', 5)
853
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 5, 0, '2013-01-05', 6)
854
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 6, 0, '2013-01-06', 0)
855
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 7, 0, '2013-01-07', 1)
856
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 8, 1, '2013-01-08', 2)
857
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 9, 1, '2013-01-09', 3)
858
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 10, 1, '2013-01-10', 4)
859
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 11, 1, '2013-01-11', 5)
860
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 12, 1, '2013-01-12', 6)
861
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 13, 1, '2013-01-13', 0)
862
+  (57.7ms) COMMIT
863
+ SQL (0.7ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 14, 1, '2013-01-14', 1)
864
+  (1.4ms) BEGIN
865
+ SQL (1.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 15, 2, '2013-01-15', 2)
866
+ SQL (3.0ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 20, 2, '2011-03-20', 0)
867
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 16, 2, '2013-01-16', 3)
868
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 17, 2, '2013-01-17', 4)
869
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 18, 2, '2013-01-18', 5)
870
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 19, 2, '2013-01-19', 6)
871
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 20, 2, '2013-01-20', 0)
872
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 21, 2, '2013-01-21', 1)
873
+ SQL (0.4ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (1, 6, 22, 'some event description', '2013-01-21 21:58:18', NULL, NULL, '2011-12-21 21:58:18', NULL)
874
+ CalendarEventType Load (0.3ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
875
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
876
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
877
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
878
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
879
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
880
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
881
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
882
+ CalendarRecurrence Load (0.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21
883
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 21 LIMIT 1
884
+  (38.1ms) COMMIT
885
+  (0.1ms) BEGIN
886
+ SQL (2.7ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (21, 12, 21, 2, 3)
887
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 21, 2, '2011-03-21', 1)
888
+  (40.9ms) COMMIT
889
+  (0.5ms) SELECT COUNT(*) FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21
890
+  (0.1ms) BEGIN
891
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
892
+  (96.2ms) COMMIT
893
+  (0.1ms) BEGIN
894
+ SQL (1.1ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 22, 3, '2011-03-22', 2)
895
+  (86.3ms) COMMIT
896
+  (0.1ms) BEGIN
897
+  (3.2ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
898
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (1, 6, 23, 'some event description', '2013-01-21 21:58:19', NULL, NULL, '2011-12-21 21:58:19', NULL)
899
+ CalendarEventType Load (0.2ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
900
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 22 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
901
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 22 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
902
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 22 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
903
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 22 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
904
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 22 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
905
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 22 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
906
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 22 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
907
+ CalendarRecurrence Load (0.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 22
908
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 22 LIMIT 1
909
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (22, 12, 21, 2, 3)
910
+  (106.7ms) COMMIT
911
+  (0.2ms) BEGIN
912
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 23, 3, '2011-03-23', 3)
913
+  (74.7ms) COMMIT
914
+  (38.7ms) SELECT COUNT(*) FROM `calendar_event_dates` WHERE `calendar_event_dates`.`calendar_event_id` = 22
915
+  (0.2ms) BEGIN
916
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
917
+  (118.4ms) COMMIT
918
+  (0.1ms) BEGIN
919
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 24, 3, '2011-03-24', 4)
920
+  (99.6ms) COMMIT
921
+  (0.1ms) BEGIN
922
+  (4.6ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
923
+ SQL (0.4ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (1, 6, 24, 'some event description', '2013-01-21 21:58:19', NULL, NULL, '2011-12-21 21:58:19', NULL)
924
+ CalendarEventType Load (0.2ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
925
+ CalendarRecurrence Load (0.6ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 23 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
926
+ CalendarRecurrence Load (0.9ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 23 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
927
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 23 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
928
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 23 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
929
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 23 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
930
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 23 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
931
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 23 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
932
+ CalendarRecurrence Load (0.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 23
933
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 23 LIMIT 1
934
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (23, 12, 21, 2, 3)
935
+  (130.6ms) COMMIT
936
+  (0.1ms) BEGIN
937
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 25, 3, '2011-03-25', 5)
938
+  (65.9ms) COMMIT
939
+ CalendarDate Load (27.0ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 23
940
+  (0.1ms) BEGIN
941
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
942
+  (109.3ms) COMMIT
943
+  (0.2ms) BEGIN
944
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 26, 3, '2011-03-26', 6)
945
+  (67.6ms) COMMIT
946
+  (0.1ms) BEGIN
947
+  (2.6ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
948
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (1, 6, 25, 'some event description', '2013-01-21 21:58:19', NULL, NULL, '2011-12-21 21:58:19', NULL)
949
+ CalendarEventType Load (0.2ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
950
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 24 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
951
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 24 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
952
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 24 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
953
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 24 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
954
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 24 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
955
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 24 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
956
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 24 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
957
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 24
958
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 24 LIMIT 1
959
+ SQL (0.4ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (24, 12, 21, 2, 3)
960
+  (85.4ms) COMMIT
961
+  (0.1ms) BEGIN
962
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 27, 3, '2011-03-27', 0)
963
+  (53.5ms) COMMIT
964
+ CalendarDate Load (27.9ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 24
965
+  (0.1ms) BEGIN
966
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
967
+  (85.8ms) COMMIT
968
+  (0.2ms) BEGIN
969
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 28, 3, '2011-03-28', 1)
970
+  (54.5ms) COMMIT
971
+  (0.1ms) BEGIN
972
+  (2.9ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
973
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 6, 26, 'some event description', '2013-01-21 21:58:19', NULL, NULL, '2011-12-21 21:58:19', NULL)
974
+ CalendarEventType Load (0.2ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
975
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
976
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
977
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
978
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
979
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
980
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
981
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
982
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25
983
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 25 LIMIT 1
984
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (25, 12, 21, 2, 3)
985
+  (85.1ms) COMMIT
986
+  (0.1ms) BEGIN
987
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 29, 4, '2011-03-29', 2)
988
+  (53.4ms) COMMIT
989
+  (0.4ms) SELECT COUNT(*) FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25
990
+  (0.1ms) BEGIN
991
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
992
+  (85.6ms) COMMIT
993
+  (0.1ms) BEGIN
994
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 30, 4, '2011-03-30', 3)
995
+  (83.0ms) COMMIT
996
+  (0.1ms) BEGIN
997
+  (2.8ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
998
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 6, 27, 'some event description', '2013-01-21 21:58:19', NULL, NULL, '2011-12-21 21:58:19', NULL)
999
+ CalendarEventType Load (0.2ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
1000
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 26 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
1001
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 26 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
1002
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 26 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
1003
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 26 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
1004
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 26 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
1005
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 26 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
1006
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 26 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
1007
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 26
1008
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 26 LIMIT 1
1009
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (26, 12, 21, 2, 3)
1010
+  (85.6ms) COMMIT
1011
+  (0.2ms) BEGIN
1012
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 31, 4, '2011-03-31', 4)
1013
+  (52.8ms) COMMIT
1014
+  (28.6ms) SELECT COUNT(*) FROM `calendar_event_dates` WHERE `calendar_event_dates`.`calendar_event_id` = 26
1015
+  (98.8ms) COMMIT
1016
+  (1.0ms) BEGIN
1017
+  (1.6ms) BEGIN
1018
+ SQL (1.7ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1019
+ SQL (0.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 1, 0, '2011-04-01', 5)
1020
+  (38.5ms) COMMIT
1021
+  (0.1ms) BEGIN
1022
+  (2.7ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
1023
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 6, 28, 'some event description', '2013-01-21 21:58:20', NULL, NULL, '2011-12-21 21:58:20', NULL)
1024
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
1025
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 27 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
1026
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 27 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
1027
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 27 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
1028
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 27 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
1029
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 27 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
1030
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 27 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
1031
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 27 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
1032
+ CalendarRecurrence Load (0.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 27
1033
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 27 LIMIT 1
1034
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (27, 12, 21, 2, 3)
1035
+  (82.5ms) COMMIT
1036
+  (0.1ms) BEGIN
1037
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 2, 0, '2011-04-02', 6)
1038
+  (52.1ms) COMMIT
1039
+ CalendarDate Load (29.0ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 27
1040
+  (0.1ms) BEGIN
1041
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1042
+  (86.0ms) COMMIT
1043
+  (0.2ms) BEGIN
1044
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 3, 0, '2011-04-03', 0)
1045
+  (53.5ms) COMMIT
1046
+  (0.1ms) BEGIN
1047
+  (2.8ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
1048
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 6, 29, 'some event description', '2013-01-21 21:58:20', NULL, NULL, '2011-12-21 21:58:20', NULL)
1049
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
1050
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 28 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
1051
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 28 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
1052
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 28 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
1053
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 28 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
1054
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 28 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
1055
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 28 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
1056
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 28 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
1057
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 28
1058
+ CalendarEvent Load (0.4ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 28 LIMIT 1
1059
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (28, 12, 21, 2, 3)
1060
+  (85.2ms) COMMIT
1061
+  (0.1ms) BEGIN
1062
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 4, 0, '2011-04-04', 1)
1063
+  (52.6ms) COMMIT
1064
+ CalendarDate Load (30.3ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 28
1065
+  (0.1ms) BEGIN
1066
+ SQL (0.3ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1067
+  (86.1ms) COMMIT
1068
+  (0.1ms) BEGIN
1069
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 5, 0, '2011-04-05', 2)
1070
+  (51.4ms) COMMIT
1071
+  (0.1ms) BEGIN
1072
+  (3.4ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
1073
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 6, 30, 'some event description', '2013-01-21 21:58:20', NULL, NULL, '2011-12-21 21:58:20', NULL)
1074
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
1075
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 29 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
1076
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 29 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
1077
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 29 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
1078
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 29 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
1079
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 29 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
1080
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 29 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
1081
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 29 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
1082
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 29
1083
+ CalendarEvent Load (0.4ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 29 LIMIT 1
1084
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (29, 12, 21, 2, 3)
1085
+  (85.2ms) COMMIT
1086
+  (0.1ms) BEGIN
1087
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 6, 0, '2011-04-06', 3)
1088
+  (53.1ms) COMMIT
1089
+ CalendarDate Load (30.3ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 29
1090
+  (76.6ms) COMMIT
1091
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1092
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1093
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1094
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1095
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1096
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1097
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1098
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1099
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1100
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1101
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1102
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1103
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1104
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1105
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1106
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1107
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1108
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1109
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1110
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1111
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1112
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1113
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1114
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1115
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1116
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1117
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1118
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1119
+ Mysql2::Error: Table 'schedulefu_test.calendar_events' doesn't exist: SHOW FULL FIELDS FROM `calendar_events`
1120
+  (0.1ms) BEGIN
1121
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1122
+  (53.3ms) COMMIT
1123
+  (0.1ms) BEGIN
1124
+  (0.3ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
1125
+ CalendarDate Load (0.4ms) SELECT `calendar_dates`.* FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
1126
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 22, 3, '2012-01-22', 0)
1127
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 23, 3, '2012-01-23', 1)
1128
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 24, 3, '2012-01-24', 2)
1129
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 25, 3, '2012-01-25', 3)
1130
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 26, 3, '2012-01-26', 4)
1131
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 27, 3, '2012-01-27', 5)
1132
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 28, 3, '2012-01-28', 6)
1133
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 29, 4, '2012-01-29', 0)
1134
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 30, 4, '2012-01-30', 1)
1135
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 31, 4, '2012-01-31', 2)
1136
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 1, 0, '2012-02-01', 3)
1137
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 2, 0, '2012-02-02', 4)
1138
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 3, 0, '2012-02-03', 5)
1139
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 4, 0, '2012-02-04', 6)
1140
+ SQL (1.9ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 3, 2, 'some event description', '2012-02-04 22:01:43', NULL, NULL, '2012-01-22 22:01:43', NULL)
1141
+ CalendarEventType Load (0.5ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 3 LIMIT 1
1142
+ CalendarDate Load (54.2ms) SELECT `calendar_dates`.* FROM `calendar_dates` WHERE (value IN ('2011-01-22','2011-01-23','2011-01-24','2011-01-25','2011-01-26','2011-01-27','2011-01-28','2011-01-29','2011-01-30','2011-01-31','2011-02-01','2011-02-02','2011-02-03','2011-02-04','2011-02-05','2011-02-06','2011-02-07','2011-02-08','2011-02-09','2011-02-10','2011-02-11','2011-02-12','2011-02-13','2011-02-14','2011-02-15','2011-02-16','2011-02-17','2011-02-18','2011-02-19','2011-02-20','2011-02-21','2011-02-22','2011-02-23','2011-02-24','2011-02-25','2011-02-26','2011-02-27','2011-02-28','2011-03-01','2011-03-02','2011-03-03','2011-03-04','2011-03-05','2011-03-06','2011-03-07','2011-03-08','2011-03-09','2011-03-10','2011-03-11','2011-03-12','2011-03-13','2011-03-14','2011-03-15','2011-03-16','2011-03-17','2011-03-18','2011-03-19','2011-03-20','2011-03-21','2011-03-22','2011-03-23','2011-03-24','2011-03-25','2011-03-26','2011-03-27','2011-03-28','2011-03-29','2011-03-30','2011-03-31','2011-04-01','2011-04-02','2011-04-03','2011-04-04','2011-04-05','2011-04-06','2011-04-07','2011-04-08','2011-04-09','2011-04-10','2011-04-11','2011-04-12','2011-04-13','2011-04-14','2011-04-15','2011-04-16','2011-04-17','2011-04-18','2011-04-19','2011-04-20','2011-04-21','2011-04-22','2011-04-23','2011-04-24','2011-04-25','2011-04-26','2011-04-27','2011-04-28','2011-04-29','2011-04-30','2011-05-01','2011-05-02','2011-05-03','2011-05-04','2011-05-05','2011-05-06','2011-05-07','2011-05-08','2011-05-09','2011-05-10','2011-05-11','2011-05-12','2011-05-13','2011-05-14','2011-05-15','2011-05-16','2011-05-17','2011-05-18','2011-05-19','2011-05-20','2011-05-21','2011-05-22','2011-05-23','2011-05-24','2011-05-25','2011-05-26','2011-05-27','2011-05-28','2011-05-29','2011-05-30','2011-05-31','2011-06-01','2011-06-02','2011-06-03','2011-06-04','2011-06-05','2011-06-06','2011-06-07','2011-06-08','2011-06-09','2011-06-10','2011-06-11','2011-06-12','2011-06-13','2011-06-14','2011-06-15','2011-06-16','2011-06-17','2011-06-18','2011-06-19','2011-06-20','2011-06-21','2011-06-22','2011-06-23','2011-06-24','2011-06-25','2011-06-26','2011-06-27','2011-06-28','2011-06-29','2011-06-30','2011-07-01','2011-07-02','2011-07-03','2011-07-04','2011-07-05','2011-07-06','2011-07-07','2011-07-08','2011-07-09','2011-07-10','2011-07-11','2011-07-12','2011-07-13','2011-07-14','2011-07-15','2011-07-16','2011-07-17','2011-07-18','2011-07-19','2011-07-20','2011-07-21','2011-07-22','2011-07-23','2011-07-24','2011-07-25','2011-07-26','2011-07-27','2011-07-28','2011-07-29','2011-07-30','2011-07-31','2011-08-01','2011-08-02','2011-08-03','2011-08-04','2011-08-05','2011-08-06','2011-08-07','2011-08-08','2011-08-09','2011-08-10','2011-08-11','2011-08-12','2011-08-13','2011-08-14','2011-08-15','2011-08-16','2011-08-17','2011-08-18','2011-08-19','2011-08-20','2011-08-21','2011-08-22','2011-08-23','2011-08-24','2011-08-25','2011-08-26','2011-08-27','2011-08-28','2011-08-29','2011-08-30','2011-08-31','2011-09-01','2011-09-02','2011-09-03','2011-09-04','2011-09-05','2011-09-06','2011-09-07','2011-09-08','2011-09-09','2011-09-10','2011-09-11','2011-09-12','2011-09-13','2011-09-14','2011-09-15','2011-09-16','2011-09-17','2011-09-18','2011-09-19','2011-09-20','2011-09-21','2011-09-22','2011-09-23','2011-09-24','2011-09-25','2011-09-26','2011-09-27','2011-09-28','2011-09-29','2011-09-30','2011-10-01','2011-10-02','2011-10-03','2011-10-04','2011-10-05','2011-10-06','2011-10-07','2011-10-08','2011-10-09','2011-10-10','2011-10-11','2011-10-12','2011-10-13','2011-10-14','2011-10-15','2011-10-16','2011-10-17','2011-10-18','2011-10-19','2011-10-20','2011-10-21','2011-10-22','2011-10-23','2011-10-24','2011-10-25','2011-10-26','2011-10-27','2011-10-28','2011-10-29','2011-10-30','2011-10-31','2011-11-01','2011-11-02','2011-11-03','2011-11-04','2011-11-05','2011-11-06','2011-11-07','2011-11-08','2011-11-09','2011-11-10','2011-11-11','2011-11-12','2011-11-13','2011-11-14','2011-11-15','2011-11-16','2011-11-17','2011-11-18','2011-11-19','2011-11-20','2011-11-21','2011-11-22','2011-11-23','2011-11-24','2011-11-25','2011-11-26','2011-11-27','2011-11-28','2011-11-29','2011-11-30','2011-12-01','2011-12-02','2011-12-03','2011-12-04','2011-12-05','2011-12-06','2011-12-07','2011-12-08','2011-12-09','2011-12-10','2011-12-11','2011-12-12','2011-12-13','2011-12-14','2011-12-15','2011-12-16','2011-12-17','2011-12-18','2011-12-19','2011-12-20','2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21','2013-01-22','2013-01-23','2013-01-24','2013-01-25','2013-01-26','2013-01-27','2013-01-28','2013-01-29','2013-01-30','2013-01-31','2013-02-01','2013-02-02','2013-02-03','2013-02-04'))
1143
+  (0.1ms) BEGIN
1144
+ SQL (0.9ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 22, 3, '2011-01-22', 6)
1145
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 1
1146
+  (58.6ms) COMMIT
1147
+  (0.1ms) BEGIN
1148
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 23, 3, '2011-01-23', 0)
1149
+  (101.3ms) COMMIT
1150
+  (89.2ms) COMMIT
1151
+  (2.4ms) BEGIN
1152
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 24, 3, '2011-01-24', 1)
1153
+ CalendarDate Load (1.4ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 1
1154
+  (0.1ms) BEGIN
1155
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1156
+  (46.4ms) COMMIT
1157
+  (0.1ms) BEGIN
1158
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 25, 3, '2011-01-25', 2)
1159
+  (81.2ms) COMMIT
1160
+  (0.2ms) BEGIN
1161
+  (0.5ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
1162
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 3, 3, 'some event description', '2012-02-04 22:01:43', NULL, NULL, '2012-01-22 22:01:43', NULL)
1163
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 3 LIMIT 1
1164
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 2
1165
+  (86.6ms) COMMIT
1166
+  (0.1ms) BEGIN
1167
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 26, 3, '2011-01-26', 3)
1168
+  (80.7ms) COMMIT
1169
+  (1.3ms) SELECT COUNT(*) FROM `calendar_event_dates` WHERE `calendar_event_dates`.`calendar_event_id` = 2
1170
+  (0.1ms) BEGIN
1171
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1172
+  (86.4ms) COMMIT
1173
+  (0.1ms) BEGIN
1174
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 27, 3, '2011-01-27', 4)
1175
+  (80.8ms) COMMIT
1176
+  (0.1ms) BEGIN
1177
+  (0.5ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
1178
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 3, 4, 'some event description', '2012-02-04 22:01:44', NULL, NULL, '2012-01-22 22:01:44', NULL)
1179
+ CalendarEventType Load (0.2ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 3 LIMIT 1
1180
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 3
1181
+  (86.5ms) COMMIT
1182
+  (0.1ms) BEGIN
1183
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 28, 3, '2011-01-28', 5)
1184
+  (91.9ms) COMMIT
1185
+  (0.9ms) SELECT COUNT(*) FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 3
1186
+  (0.2ms) BEGIN
1187
+ SQL (0.3ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1188
+  (108.8ms) COMMIT
1189
+  (0.1ms) BEGIN
1190
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 29, 4, '2011-01-29', 6)
1191
+  (102.1ms) COMMIT
1192
+  (0.2ms) BEGIN
1193
+  (1.3ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21'))
1194
+ CalendarDate Load (1.7ms) SELECT `calendar_dates`.* FROM `calendar_dates` WHERE (value IN ('2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21'))
1195
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 14, 1, '2012-01-14', 6)
1196
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 15, 2, '2012-01-15', 0)
1197
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 16, 2, '2012-01-16', 1)
1198
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 17, 2, '2012-01-17', 2)
1199
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 18, 2, '2012-01-18', 3)
1200
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 19, 2, '2012-01-19', 4)
1201
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 20, 2, '2012-01-20', 5)
1202
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 21, 2, '2012-01-21', 6)
1203
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 5, 0, '2012-02-05', 0)
1204
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 6, 0, '2012-02-06', 1)
1205
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 7, 0, '2012-02-07', 2)
1206
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 8, 1, '2012-02-08', 3)
1207
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 9, 1, '2012-02-09', 4)
1208
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 10, 1, '2012-02-10', 5)
1209
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 11, 1, '2012-02-11', 6)
1210
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 12, 1, '2012-02-12', 0)
1211
+ SQL (0.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 13, 1, '2012-02-13', 1)
1212
+  (118.2ms) COMMIT
1213
+  (0.1ms) BEGIN
1214
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 30, 4, '2011-01-30', 0)
1215
+ SQL (4.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 14, 1, '2012-02-14', 2)
1216
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 15, 2, '2012-02-15', 3)
1217
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 16, 2, '2012-02-16', 4)
1218
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 17, 2, '2012-02-17', 5)
1219
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 18, 2, '2012-02-18', 6)
1220
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 19, 2, '2012-02-19', 0)
1221
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 20, 2, '2012-02-20', 1)
1222
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 21, 2, '2012-02-21', 2)
1223
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 22, 3, '2012-02-22', 3)
1224
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 23, 3, '2012-02-23', 4)
1225
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 24, 3, '2012-02-24', 5)
1226
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 25, 3, '2012-02-25', 6)
1227
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 26, 3, '2012-02-26', 0)
1228
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 27, 3, '2012-02-27', 1)
1229
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 28, 3, '2012-02-28', 2)
1230
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 29, 4, '2012-02-29', 3)
1231
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 1, 0, '2012-03-01', 4)
1232
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 2, 0, '2012-03-02', 5)
1233
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 3, 0, '2012-03-03', 6)
1234
+  (52.3ms) COMMIT
1235
+  (0.1ms) BEGIN
1236
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 1, 31, 4, '2011-01-31', 1)
1237
+ SQL (4.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 4, 0, '2012-03-04', 0)
1238
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 5, 0, '2012-03-05', 1)
1239
+ SQL (0.7ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 6, 0, '2012-03-06', 2)
1240
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 7, 0, '2012-03-07', 3)
1241
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 8, 1, '2012-03-08', 4)
1242
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 9, 1, '2012-03-09', 5)
1243
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 10, 1, '2012-03-10', 6)
1244
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 11, 1, '2012-03-11', 0)
1245
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 12, 1, '2012-03-12', 1)
1246
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 13, 1, '2012-03-13', 2)
1247
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 14, 1, '2012-03-14', 3)
1248
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 15, 2, '2012-03-15', 4)
1249
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 16, 2, '2012-03-16', 5)
1250
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 17, 2, '2012-03-17', 6)
1251
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 18, 2, '2012-03-18', 0)
1252
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 19, 2, '2012-03-19', 1)
1253
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 20, 2, '2012-03-20', 2)
1254
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 21, 2, '2012-03-21', 3)
1255
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 22, 3, '2012-03-22', 4)
1256
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 23, 3, '2012-03-23', 5)
1257
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 24, 3, '2012-03-24', 6)
1258
+ SQL (19.8ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 25, 3, '2012-03-25', 0)
1259
+ SQL (0.7ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 26, 3, '2012-03-26', 1)
1260
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 27, 3, '2012-03-27', 2)
1261
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 28, 3, '2012-03-28', 3)
1262
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 29, 4, '2012-03-29', 4)
1263
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 30, 4, '2012-03-30', 5)
1264
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 31, 4, '2012-03-31', 6)
1265
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 1, 0, '2012-04-01', 0)
1266
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 2, 0, '2012-04-02', 1)
1267
+ SQL (0.7ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 3, 0, '2012-04-03', 2)
1268
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 4, 0, '2012-04-04', 3)
1269
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 5, 0, '2012-04-05', 4)
1270
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 6, 0, '2012-04-06', 5)
1271
+  (109.9ms) COMMIT
1272
+  (0.1ms) BEGIN
1273
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 1, 0, '2011-02-01', 2)
1274
+ SQL (3.8ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 7, 0, '2012-04-07', 6)
1275
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 8, 1, '2012-04-08', 0)
1276
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 9, 1, '2012-04-09', 1)
1277
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 10, 1, '2012-04-10', 2)
1278
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 11, 1, '2012-04-11', 3)
1279
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 12, 1, '2012-04-12', 4)
1280
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 13, 1, '2012-04-13', 5)
1281
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 14, 1, '2012-04-14', 6)
1282
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 15, 2, '2012-04-15', 0)
1283
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 16, 2, '2012-04-16', 1)
1284
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 17, 2, '2012-04-17', 2)
1285
+ SQL (0.7ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 18, 2, '2012-04-18', 3)
1286
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 19, 2, '2012-04-19', 4)
1287
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 20, 2, '2012-04-20', 5)
1288
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 21, 2, '2012-04-21', 6)
1289
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 22, 3, '2012-04-22', 0)
1290
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 23, 3, '2012-04-23', 1)
1291
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 4, 24, 3, '2012-04-24', 2)
1292
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 4, 25, 3, '2012-04-25', 3)
1293
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 4, 26, 3, '2012-04-26', 4)
1294
+  (51.9ms) COMMIT
1295
+  (0.1ms) BEGIN
1296
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 2, 0, '2011-02-02', 3)
1297
+ SQL (3.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 4, 27, 3, '2012-04-27', 5)
1298
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 4, 28, 3, '2012-04-28', 6)
1299
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 4, 29, 4, '2012-04-29', 0)
1300
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 4, 30, 4, '2012-04-30', 1)
1301
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 1, 0, '2012-05-01', 2)
1302
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 2, 0, '2012-05-02', 3)
1303
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 3, 0, '2012-05-03', 4)
1304
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 4, 0, '2012-05-04', 5)
1305
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 5, 0, '2012-05-05', 6)
1306
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 6, 0, '2012-05-06', 0)
1307
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 7, 0, '2012-05-07', 1)
1308
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 8, 1, '2012-05-08', 2)
1309
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 9, 1, '2012-05-09', 3)
1310
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 10, 1, '2012-05-10', 4)
1311
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 11, 1, '2012-05-11', 5)
1312
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 12, 1, '2012-05-12', 6)
1313
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 13, 1, '2012-05-13', 0)
1314
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 14, 1, '2012-05-14', 1)
1315
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 15, 2, '2012-05-15', 2)
1316
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 16, 2, '2012-05-16', 3)
1317
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 17, 2, '2012-05-17', 4)
1318
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 18, 2, '2012-05-18', 5)
1319
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 19, 2, '2012-05-19', 6)
1320
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 20, 2, '2012-05-20', 0)
1321
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 21, 2, '2012-05-21', 1)
1322
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 22, 3, '2012-05-22', 2)
1323
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 23, 3, '2012-05-23', 3)
1324
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 5, 24, 3, '2012-05-24', 4)
1325
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 5, 25, 3, '2012-05-25', 5)
1326
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 5, 26, 3, '2012-05-26', 6)
1327
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 5, 27, 3, '2012-05-27', 0)
1328
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 5, 28, 3, '2012-05-28', 1)
1329
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 5, 29, 4, '2012-05-29', 2)
1330
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 5, 30, 4, '2012-05-30', 3)
1331
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 5, 31, 4, '2012-05-31', 4)
1332
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 1, 0, '2012-06-01', 5)
1333
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 2, 0, '2012-06-02', 6)
1334
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 3, 0, '2012-06-03', 0)
1335
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 4, 0, '2012-06-04', 1)
1336
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 5, 0, '2012-06-05', 2)
1337
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 6, 0, '2012-06-06', 3)
1338
+  (74.3ms) COMMIT
1339
+  (0.1ms) BEGIN
1340
+ SQL (0.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 7, 0, '2012-06-07', 4)
1341
+ SQL (2.0ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 3, 0, '2011-02-03', 4)
1342
+ SQL (0.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 8, 1, '2012-06-08', 5)
1343
+ SQL (0.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 9, 1, '2012-06-09', 6)
1344
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 10, 1, '2012-06-10', 0)
1345
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 11, 1, '2012-06-11', 1)
1346
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 12, 1, '2012-06-12', 2)
1347
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 13, 1, '2012-06-13', 3)
1348
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 14, 1, '2012-06-14', 4)
1349
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 15, 2, '2012-06-15', 5)
1350
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 16, 2, '2012-06-16', 6)
1351
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 17, 2, '2012-06-17', 0)
1352
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 18, 2, '2012-06-18', 1)
1353
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 19, 2, '2012-06-19', 2)
1354
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 20, 2, '2012-06-20', 3)
1355
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 21, 2, '2012-06-21', 4)
1356
+ SQL (0.5ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (1, 5, 5, 'some event description', '2012-06-21 22:01:44', NULL, NULL, '2012-01-14 22:01:44', NULL)
1357
+ CalendarEventType Load (0.4ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 5 LIMIT 1
1358
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
1359
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
1360
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
1361
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
1362
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
1363
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
1364
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
1365
+ CalendarRecurrence Load (0.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4
1366
+ CalendarEvent Load (0.4ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 4 LIMIT 1
1367
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (4, 1, 14, 1, 6)
1368
+  (84.1ms) COMMIT
1369
+  (0.1ms) BEGIN
1370
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 4, 0, '2011-02-04', 5)
1371
+  (79.7ms) COMMIT
1372
+  (0.5ms) SELECT COUNT(*) FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 4
1373
+  (5.7ms) BEGIN
1374
+ SQL (0.3ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1375
+  (74.5ms) COMMIT
1376
+  (0.2ms) BEGIN
1377
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 5, 0, '2011-02-05', 6)
1378
+  (53.6ms) COMMIT
1379
+  (0.3ms) BEGIN
1380
+  (10.6ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21'))
1381
+ SQL (0.5ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (1, 5, 6, 'some event description', '2012-06-21 22:01:44', NULL, NULL, '2012-01-14 22:01:44', NULL)
1382
+ CalendarEventType Load (0.2ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 5 LIMIT 1
1383
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 5 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
1384
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 5 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
1385
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 5 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
1386
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 5 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
1387
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 5 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
1388
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 5 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
1389
+  (84.6ms) COMMIT
1390
+  (0.1ms) BEGIN
1391
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 6, 0, '2011-02-06', 0)
1392
+ CalendarRecurrence Load (4.8ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 5 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
1393
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 5
1394
+ CalendarEvent Load (0.4ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 5 LIMIT 1
1395
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (5, 1, 14, 1, 6)
1396
+  (40.6ms) COMMIT
1397
+  (0.2ms) BEGIN
1398
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 7, 0, '2011-02-07', 1)
1399
+  (72.1ms) COMMIT
1400
+  (11.1ms) SELECT COUNT(*) FROM `calendar_event_dates` WHERE `calendar_event_dates`.`calendar_event_id` = 5
1401
+  (0.2ms) BEGIN
1402
+ SQL (0.3ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1403
+  (96.1ms) COMMIT
1404
+  (0.1ms) BEGIN
1405
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 8, 1, '2011-02-08', 2)
1406
+  (80.8ms) COMMIT
1407
+  (0.2ms) BEGIN
1408
+  (7.8ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21'))
1409
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (1, 5, 7, 'some event description', '2012-06-21 22:01:45', NULL, NULL, '2012-01-14 22:01:45', NULL)
1410
+ CalendarEventType Load (0.2ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 5 LIMIT 1
1411
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 6 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
1412
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 6 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
1413
+ CalendarRecurrence Load (4.7ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 6 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
1414
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 6 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
1415
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 6 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
1416
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 6 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
1417
+ CalendarRecurrence Load (3.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 6 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
1418
+  (84.7ms) COMMIT
1419
+ CalendarRecurrence Load (1.0ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 6
1420
+  (3.0ms) BEGIN
1421
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 9, 1, '2011-02-09', 3)
1422
+ CalendarEvent Load (3.4ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 6 LIMIT 1
1423
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (6, 1, 14, 1, 6)
1424
+  (44.2ms) COMMIT
1425
+  (0.1ms) BEGIN
1426
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 10, 1, '2011-02-10', 4)
1427
+  (86.0ms) COMMIT
1428
+ CalendarDate Load (9.4ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 6
1429
+  (0.9ms) BEGIN
1430
+ SQL (0.3ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1431
+  (85.5ms) COMMIT
1432
+  (0.1ms) BEGIN
1433
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 11, 1, '2011-02-11', 5)
1434
+  (70.4ms) COMMIT
1435
+  (0.2ms) BEGIN
1436
+  (2.1ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21'))
1437
+ SQL (0.6ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 5, 8, 'some event description', '2012-06-21 22:01:45', NULL, NULL, '2012-01-14 22:01:45', NULL)
1438
+ CalendarEventType Load (0.2ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 5 LIMIT 1
1439
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
1440
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
1441
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
1442
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
1443
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
1444
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
1445
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
1446
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7
1447
+ CalendarEvent Load (0.4ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 7 LIMIT 1
1448
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (7, 1, 14, 1, 6)
1449
+  (85.1ms) COMMIT
1450
+  (0.1ms) BEGIN
1451
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 12, 1, '2011-02-12', 6)
1452
+  (50.3ms) COMMIT
1453
+  (0.4ms) SELECT COUNT(*) FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 7
1454
+  (0.2ms) BEGIN
1455
+ SQL (0.3ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1456
+  (83.7ms) COMMIT
1457
+  (0.1ms) BEGIN
1458
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 13, 1, '2011-02-13', 0)
1459
+  (82.1ms) COMMIT
1460
+  (0.1ms) BEGIN
1461
+  (1.3ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21'))
1462
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 5, 9, 'some event description', '2012-06-21 22:01:45', NULL, NULL, '2012-01-14 22:01:45', NULL)
1463
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 5 LIMIT 1
1464
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 8 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
1465
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 8 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
1466
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 8 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
1467
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 8 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
1468
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 8 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
1469
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 8 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
1470
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 8 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
1471
+ CalendarRecurrence Load (0.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 8
1472
+ CalendarEvent Load (0.4ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 8 LIMIT 1
1473
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (8, 1, 14, 1, 6)
1474
+  (85.0ms) COMMIT
1475
+  (0.1ms) BEGIN
1476
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 14, 1, '2011-02-14', 1)
1477
+  (60.9ms) COMMIT
1478
+  (6.6ms) SELECT COUNT(*) FROM `calendar_event_dates` WHERE `calendar_event_dates`.`calendar_event_id` = 8
1479
+  (0.1ms) BEGIN
1480
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1481
+  (85.9ms) COMMIT
1482
+  (0.1ms) BEGIN
1483
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 15, 2, '2011-02-15', 2)
1484
+  (76.7ms) COMMIT
1485
+  (0.1ms) BEGIN
1486
+  (1.4ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21'))
1487
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 5, 10, 'some event description', '2012-06-21 22:01:45', NULL, NULL, '2012-01-14 22:01:45', NULL)
1488
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 5 LIMIT 1
1489
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 9 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
1490
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 9 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
1491
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 9 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
1492
+  (97.8ms) COMMIT
1493
+  (0.2ms) BEGIN
1494
+ CalendarRecurrence Load (1.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 9 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
1495
+ SQL (1.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 16, 2, '2011-02-16', 3)
1496
+ CalendarRecurrence Load (1.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 9 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
1497
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 9 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
1498
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 9 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
1499
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 9
1500
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 9 LIMIT 1
1501
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (9, 1, 14, 1, 6)
1502
+  (49.7ms) COMMIT
1503
+  (0.1ms) BEGIN
1504
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 17, 2, '2011-02-17', 4)
1505
+  (82.2ms) COMMIT
1506
+ CalendarDate Load (7.9ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 9
1507
+  (0.2ms) BEGIN
1508
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1509
+  (85.8ms) COMMIT
1510
+  (0.1ms) BEGIN
1511
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 18, 2, '2011-02-18', 5)
1512
+  (74.6ms) COMMIT
1513
+  (0.1ms) BEGIN
1514
+  (1.3ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21'))
1515
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 5, 11, 'some event description', '2012-06-21 22:01:46', NULL, NULL, '2012-01-14 22:01:46', NULL)
1516
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 5 LIMIT 1
1517
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 10 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
1518
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 10 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
1519
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 10 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
1520
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 10 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
1521
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 10 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
1522
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 10 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
1523
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 10 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
1524
+ CalendarRecurrence Load (0.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 10
1525
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 10 LIMIT 1
1526
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (10, 1, 14, 1, 6)
1527
+  (97.0ms) COMMIT
1528
+  (0.1ms) BEGIN
1529
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 19, 2, '2011-02-19', 6)
1530
+  (83.6ms) COMMIT
1531
+ CalendarDate Load (7.9ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 10
1532
+  (0.2ms) BEGIN
1533
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1534
+  (108.5ms) COMMIT
1535
+  (0.1ms) BEGIN
1536
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 20, 2, '2011-02-20', 0)
1537
+  (95.2ms) COMMIT
1538
+  (0.1ms) BEGIN
1539
+  (0.5ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
1540
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 1, 12, 'some event description', '2012-02-04 22:01:46', NULL, NULL, '2012-01-22 22:01:46', NULL)
1541
+ CalendarEventType Load (0.3ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 1 LIMIT 1
1542
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 11
1543
+  (107.9ms) COMMIT
1544
+  (0.1ms) BEGIN
1545
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 2, 21, 2, '2011-02-21', 1)
1546
+  (103.2ms) COMMIT
1547
+  (5.5ms) SELECT COUNT(*) FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 11
1548
+ CalendarDate Load (1.0ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 11 LIMIT 1
1549
+  (0.1ms) BEGIN
1550
+ SQL (0.3ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1551
+  (108.7ms) COMMIT
1552
+  (0.1ms) BEGIN
1553
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 22, 3, '2011-02-22', 2)
1554
+  (97.0ms) COMMIT
1555
+  (0.1ms) BEGIN
1556
+  (0.5ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
1557
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 1, 13, 'some event description', '2012-02-04 22:01:46', NULL, NULL, '2012-01-22 22:01:46', NULL)
1558
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 1 LIMIT 1
1559
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 12
1560
+  (107.9ms) COMMIT
1561
+  (0.1ms) BEGIN
1562
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 23, 3, '2011-02-23', 3)
1563
+  (104.2ms) COMMIT
1564
+  (0.3ms) SELECT COUNT(*) FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 12
1565
+  (0.1ms) BEGIN
1566
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1567
+  (110.0ms) COMMIT
1568
+  (0.1ms) BEGIN
1569
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 24, 3, '2011-02-24', 4)
1570
+  (94.3ms) COMMIT
1571
+  (0.1ms) BEGIN
1572
+  (0.4ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
1573
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 2, 14, 'some event description', '2012-02-04 22:01:46', NULL, NULL, '2012-01-22 22:01:46', NULL)
1574
+ CalendarEventType Load (0.3ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 2 LIMIT 1
1575
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 13
1576
+  (86.1ms) COMMIT
1577
+  (0.1ms) BEGIN
1578
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 25, 3, '2011-02-25', 5)
1579
+  (81.5ms) COMMIT
1580
+ CalendarDate Load (5.9ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 13
1581
+  (5.2ms) SELECT COUNT(*) FROM `calendar_event_dates` WHERE `calendar_event_dates`.`calendar_event_id` = 13
1582
+  (0.1ms) BEGIN
1583
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1584
+  (86.5ms) COMMIT
1585
+  (0.1ms) BEGIN
1586
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 26, 3, '2011-02-26', 6)
1587
+  (69.6ms) COMMIT
1588
+  (0.1ms) BEGIN
1589
+  (0.4ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
1590
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 2, 15, 'some event description', '2012-02-04 22:01:46', NULL, NULL, '2012-01-22 22:01:46', NULL)
1591
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 2 LIMIT 1
1592
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 14
1593
+  (86.3ms) COMMIT
1594
+  (0.1ms) BEGIN
1595
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 27, 3, '2011-02-27', 0)
1596
+  (81.5ms) COMMIT
1597
+ CalendarDate Load (6.7ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 14
1598
+  (0.1ms) BEGIN
1599
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1600
+  (86.5ms) COMMIT
1601
+  (0.1ms) BEGIN
1602
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 2, 28, 3, '2011-02-28', 1)
1603
+  (76.3ms) COMMIT
1604
+  (0.1ms) BEGIN
1605
+  (0.4ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
1606
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 2, 16, 'some event description', '2012-02-04 22:01:47', NULL, NULL, '2012-01-22 22:01:47', NULL)
1607
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 2 LIMIT 1
1608
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 15
1609
+  (86.1ms) COMMIT
1610
+  (0.1ms) BEGIN
1611
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 1, 0, '2011-03-01', 2)
1612
+  (81.7ms) COMMIT
1613
+ CalendarDate Load (7.0ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 15
1614
+  (0.3ms) SELECT COUNT(*) FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 15
1615
+  (0.1ms) BEGIN
1616
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1617
+  (97.7ms) COMMIT
1618
+  (0.1ms) BEGIN
1619
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 2, 0, '2011-03-02', 3)
1620
+  (85.2ms) COMMIT
1621
+  (0.1ms) BEGIN
1622
+  (0.6ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
1623
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 2, 17, 'some event description', '2012-02-04 22:01:47', NULL, NULL, '2012-01-22 22:01:47', NULL)
1624
+ CalendarEventType Load (0.2ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 2 LIMIT 1
1625
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 16
1626
+  (86.1ms) COMMIT
1627
+  (0.1ms) BEGIN
1628
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 3, 0, '2011-03-03', 4)
1629
+  (79.9ms) COMMIT
1630
+ CalendarDate Load (6.4ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 16
1631
+  (0.1ms) BEGIN
1632
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1633
+  (86.6ms) COMMIT
1634
+  (0.2ms) BEGIN
1635
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 4, 0, '2011-03-04', 5)
1636
+  (75.0ms) COMMIT
1637
+  (0.1ms) BEGIN
1638
+  (0.5ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
1639
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 4, 18, 'some event description', '2012-02-04 22:01:47', NULL, NULL, '2012-01-22 22:01:47', NULL)
1640
+ CalendarEventType Load (0.3ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 4 LIMIT 1
1641
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 17
1642
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 17 LIMIT 1
1643
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (17, NULL, NULL, NULL, 1)
1644
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 17 LIMIT 1
1645
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (17, NULL, NULL, NULL, 3)
1646
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 17 LIMIT 1
1647
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (17, NULL, NULL, NULL, 5)
1648
+  (85.9ms) COMMIT
1649
+  (0.1ms) BEGIN
1650
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 5, 0, '2011-03-05', 6)
1651
+  (71.5ms) COMMIT
1652
+ CalendarDate Load (7.0ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 17
1653
+  (0.1ms) BEGIN
1654
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1655
+  (86.0ms) COMMIT
1656
+  (0.1ms) BEGIN
1657
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 6, 0, '2011-03-06', 0)
1658
+  (75.5ms) COMMIT
1659
+  (0.1ms) BEGIN
1660
+  (0.5ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
1661
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 4, 19, 'some event description', '2012-02-04 22:01:47', NULL, NULL, '2012-01-22 22:01:47', NULL)
1662
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 4 LIMIT 1
1663
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 18
1664
+ CalendarEvent Load (0.4ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 18 LIMIT 1
1665
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (18, NULL, NULL, NULL, 1)
1666
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 18 LIMIT 1
1667
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (18, NULL, NULL, NULL, 3)
1668
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 18 LIMIT 1
1669
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (18, NULL, NULL, NULL, 5)
1670
+  (86.3ms) COMMIT
1671
+  (0.1ms) BEGIN
1672
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 7, 0, '2011-03-07', 1)
1673
+  (71.5ms) COMMIT
1674
+ CalendarDate Load (6.9ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 18
1675
+  (0.3ms) SELECT COUNT(*) FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 18
1676
+  (0.1ms) BEGIN
1677
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1678
+  (85.9ms) COMMIT
1679
+  (0.1ms) BEGIN
1680
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 8, 1, '2011-03-08', 2)
1681
+  (74.1ms) COMMIT
1682
+  (0.1ms) BEGIN
1683
+  (0.4ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
1684
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 4, 20, 'some event description', '2012-02-04 22:01:47', NULL, NULL, '2012-01-22 22:01:47', NULL)
1685
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 4 LIMIT 1
1686
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 19
1687
+ CalendarEvent Load (0.4ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 19 LIMIT 1
1688
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (19, NULL, NULL, NULL, 1)
1689
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 19 LIMIT 1
1690
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (19, NULL, NULL, NULL, 3)
1691
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 19 LIMIT 1
1692
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (19, NULL, NULL, NULL, 5)
1693
+  (97.1ms) COMMIT
1694
+  (0.1ms) BEGIN
1695
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 9, 1, '2011-03-09', 3)
1696
+  (94.1ms) COMMIT
1697
+ CalendarDate Load (7.2ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 19
1698
+  (6.5ms) SELECT COUNT(*) FROM `calendar_event_dates` WHERE `calendar_event_dates`.`calendar_event_id` = 19
1699
+  (0.1ms) BEGIN
1700
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1701
+  (108.7ms) COMMIT
1702
+  (0.1ms) BEGIN
1703
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 10, 1, '2011-03-10', 4)
1704
+  (88.7ms) COMMIT
1705
+  (0.1ms) BEGIN
1706
+  (0.4ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04'))
1707
+ SQL (0.2ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 4, 21, 'some event description', '2012-02-04 22:01:47', NULL, NULL, '2012-01-22 22:01:47', NULL)
1708
+ CalendarEventType Load (0.2ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 4 LIMIT 1
1709
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 20
1710
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 20 LIMIT 1
1711
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (20, NULL, NULL, NULL, 1)
1712
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 20 LIMIT 1
1713
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (20, NULL, NULL, NULL, 3)
1714
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 20 LIMIT 1
1715
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (20, NULL, NULL, NULL, 5)
1716
+  (107.6ms) COMMIT
1717
+  (0.1ms) BEGIN
1718
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 11, 1, '2011-03-11', 5)
1719
+  (93.9ms) COMMIT
1720
+ CalendarDate Load (7.2ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 20
1721
+  (0.1ms) BEGIN
1722
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
1723
+  (108.8ms) COMMIT
1724
+  (0.1ms) BEGIN
1725
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 12, 1, '2011-03-12', 6)
1726
+  (97.4ms) COMMIT
1727
+  (0.1ms) BEGIN
1728
+  (1.7ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
1729
+ CalendarDate Load (2.1ms) SELECT `calendar_dates`.* FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
1730
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 21, 2, '2011-12-21', 3)
1731
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 22, 3, '2011-12-22', 4)
1732
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 23, 3, '2011-12-23', 5)
1733
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 24, 3, '2011-12-24', 6)
1734
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 25, 3, '2011-12-25', 0)
1735
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 26, 3, '2011-12-26', 1)
1736
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 27, 3, '2011-12-27', 2)
1737
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 28, 3, '2011-12-28', 3)
1738
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 29, 4, '2011-12-29', 4)
1739
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 30, 4, '2011-12-30', 5)
1740
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 31, 4, '2011-12-31', 6)
1741
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 1, 0, '2012-01-01', 0)
1742
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 2, 0, '2012-01-02', 1)
1743
+  (109.5ms) COMMIT
1744
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 3, 0, '2012-01-03', 2)
1745
+  (0.1ms) BEGIN
1746
+ SQL (1.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 4, 0, '2012-01-04', 3)
1747
+ SQL (1.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 13, 1, '2011-03-13', 0)
1748
+ SQL (0.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 5, 0, '2012-01-05', 4)
1749
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 6, 0, '2012-01-06', 5)
1750
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 7, 0, '2012-01-07', 6)
1751
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 8, 1, '2012-01-08', 0)
1752
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 9, 1, '2012-01-09', 1)
1753
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 10, 1, '2012-01-10', 2)
1754
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 11, 1, '2012-01-11', 3)
1755
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 12, 1, '2012-01-12', 4)
1756
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 13, 1, '2012-01-13', 5)
1757
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 22, 3, '2012-06-22', 5)
1758
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 6, 23, 3, '2012-06-23', 6)
1759
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 6, 24, 3, '2012-06-24', 0)
1760
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 6, 25, 3, '2012-06-25', 1)
1761
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 6, 26, 3, '2012-06-26', 2)
1762
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 6, 27, 3, '2012-06-27', 3)
1763
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 6, 28, 3, '2012-06-28', 4)
1764
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 6, 29, 4, '2012-06-29', 5)
1765
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 6, 30, 4, '2012-06-30', 6)
1766
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 1, 0, '2012-07-01', 0)
1767
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 2, 0, '2012-07-02', 1)
1768
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 3, 0, '2012-07-03', 2)
1769
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 4, 0, '2012-07-04', 3)
1770
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 5, 0, '2012-07-05', 4)
1771
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 6, 0, '2012-07-06', 5)
1772
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 7, 0, '2012-07-07', 6)
1773
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 8, 1, '2012-07-08', 0)
1774
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 9, 1, '2012-07-09', 1)
1775
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 10, 1, '2012-07-10', 2)
1776
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 11, 1, '2012-07-11', 3)
1777
+  (49.2ms) COMMIT
1778
+ SQL (0.7ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 12, 1, '2012-07-12', 4)
1779
+  (1.5ms) BEGIN
1780
+ SQL (1.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 13, 1, '2012-07-13', 5)
1781
+ SQL (1.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 14, 1, '2011-03-14', 1)
1782
+ SQL (0.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 14, 1, '2012-07-14', 6)
1783
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 15, 2, '2012-07-15', 0)
1784
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 16, 2, '2012-07-16', 1)
1785
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 17, 2, '2012-07-17', 2)
1786
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 18, 2, '2012-07-18', 3)
1787
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 19, 2, '2012-07-19', 4)
1788
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 20, 2, '2012-07-20', 5)
1789
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 21, 2, '2012-07-21', 6)
1790
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 22, 3, '2012-07-22', 0)
1791
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 23, 3, '2012-07-23', 1)
1792
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 7, 24, 3, '2012-07-24', 2)
1793
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 7, 25, 3, '2012-07-25', 3)
1794
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 7, 26, 3, '2012-07-26', 4)
1795
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 7, 27, 3, '2012-07-27', 5)
1796
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 7, 28, 3, '2012-07-28', 6)
1797
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 7, 29, 4, '2012-07-29', 0)
1798
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 7, 30, 4, '2012-07-30', 1)
1799
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 7, 31, 4, '2012-07-31', 2)
1800
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 1, 0, '2012-08-01', 3)
1801
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 2, 0, '2012-08-02', 4)
1802
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 3, 0, '2012-08-03', 5)
1803
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 4, 0, '2012-08-04', 6)
1804
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 5, 0, '2012-08-05', 0)
1805
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 6, 0, '2012-08-06', 1)
1806
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 7, 0, '2012-08-07', 2)
1807
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 8, 1, '2012-08-08', 3)
1808
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 9, 1, '2012-08-09', 4)
1809
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 10, 1, '2012-08-10', 5)
1810
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 11, 1, '2012-08-11', 6)
1811
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 12, 1, '2012-08-12', 0)
1812
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 13, 1, '2012-08-13', 1)
1813
+  (51.3ms) COMMIT
1814
+  (0.1ms) BEGIN
1815
+ SQL (1.9ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 14, 1, '2012-08-14', 2)
1816
+ SQL (1.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 15, 2, '2011-03-15', 2)
1817
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 15, 2, '2012-08-15', 3)
1818
+ SQL (14.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 16, 2, '2012-08-16', 4)
1819
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 17, 2, '2012-08-17', 5)
1820
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 18, 2, '2012-08-18', 6)
1821
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 19, 2, '2012-08-19', 0)
1822
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 20, 2, '2012-08-20', 1)
1823
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 21, 2, '2012-08-21', 2)
1824
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 22, 3, '2012-08-22', 3)
1825
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 23, 3, '2012-08-23', 4)
1826
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 8, 24, 3, '2012-08-24', 5)
1827
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 8, 25, 3, '2012-08-25', 6)
1828
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 8, 26, 3, '2012-08-26', 0)
1829
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 8, 27, 3, '2012-08-27', 1)
1830
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 8, 28, 3, '2012-08-28', 2)
1831
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 8, 29, 4, '2012-08-29', 3)
1832
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 8, 30, 4, '2012-08-30', 4)
1833
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 8, 31, 4, '2012-08-31', 5)
1834
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 1, 0, '2012-09-01', 6)
1835
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 2, 0, '2012-09-02', 0)
1836
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 3, 0, '2012-09-03', 1)
1837
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 4, 0, '2012-09-04', 2)
1838
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 5, 0, '2012-09-05', 3)
1839
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 6, 0, '2012-09-06', 4)
1840
+  (51.9ms) COMMIT
1841
+ SQL (1.0ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 7, 0, '2012-09-07', 5)
1842
+  (1.6ms) BEGIN
1843
+ SQL (1.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 8, 1, '2012-09-08', 6)
1844
+ SQL (1.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 16, 2, '2011-03-16', 3)
1845
+ SQL (0.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 9, 1, '2012-09-09', 0)
1846
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 10, 1, '2012-09-10', 1)
1847
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 11, 1, '2012-09-11', 2)
1848
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 12, 1, '2012-09-12', 3)
1849
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 13, 1, '2012-09-13', 4)
1850
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 14, 1, '2012-09-14', 5)
1851
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 15, 2, '2012-09-15', 6)
1852
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 16, 2, '2012-09-16', 0)
1853
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 17, 2, '2012-09-17', 1)
1854
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 18, 2, '2012-09-18', 2)
1855
+ SQL (0.8ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 19, 2, '2012-09-19', 3)
1856
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 20, 2, '2012-09-20', 4)
1857
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 21, 2, '2012-09-21', 5)
1858
+  (49.5ms) COMMIT
1859
+ SQL (1.1ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 22, 3, '2012-09-22', 6)
1860
+  (2.0ms) BEGIN
1861
+ SQL (1.7ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 9, 23, 3, '2012-09-23', 0)
1862
+ SQL (2.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 17, 2, '2011-03-17', 4)
1863
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 9, 24, 3, '2012-09-24', 1)
1864
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 9, 25, 3, '2012-09-25', 2)
1865
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 9, 26, 3, '2012-09-26', 3)
1866
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 9, 27, 3, '2012-09-27', 4)
1867
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 9, 28, 3, '2012-09-28', 5)
1868
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 9, 29, 4, '2012-09-29', 6)
1869
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 9, 30, 4, '2012-09-30', 0)
1870
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 1, 0, '2012-10-01', 1)
1871
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 2, 0, '2012-10-02', 2)
1872
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 3, 0, '2012-10-03', 3)
1873
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 4, 0, '2012-10-04', 4)
1874
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 5, 0, '2012-10-05', 5)
1875
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 6, 0, '2012-10-06', 6)
1876
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 7, 0, '2012-10-07', 0)
1877
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 8, 1, '2012-10-08', 1)
1878
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 9, 1, '2012-10-09', 2)
1879
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 10, 1, '2012-10-10', 3)
1880
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 11, 1, '2012-10-11', 4)
1881
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 12, 1, '2012-10-12', 5)
1882
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 13, 1, '2012-10-13', 6)
1883
+  (39.9ms) COMMIT
1884
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 14, 1, '2012-10-14', 0)
1885
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 15, 2, '2012-10-15', 1)
1886
+  (1.9ms) BEGIN
1887
+ SQL (1.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 16, 2, '2012-10-16', 2)
1888
+ SQL (1.9ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 18, 2, '2011-03-18', 5)
1889
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 17, 2, '2012-10-17', 3)
1890
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 18, 2, '2012-10-18', 4)
1891
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 19, 2, '2012-10-19', 5)
1892
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 20, 2, '2012-10-20', 6)
1893
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 21, 2, '2012-10-21', 0)
1894
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 22, 3, '2012-10-22', 1)
1895
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 23, 3, '2012-10-23', 2)
1896
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 10, 24, 3, '2012-10-24', 3)
1897
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 10, 25, 3, '2012-10-25', 4)
1898
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 10, 26, 3, '2012-10-26', 5)
1899
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 10, 27, 3, '2012-10-27', 6)
1900
+ SQL (1.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 10, 28, 3, '2012-10-28', 0)
1901
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 10, 29, 4, '2012-10-29', 1)
1902
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 10, 30, 4, '2012-10-30', 2)
1903
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 10, 31, 4, '2012-10-31', 3)
1904
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 1, 0, '2012-11-01', 4)
1905
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 2, 0, '2012-11-02', 5)
1906
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 3, 0, '2012-11-03', 6)
1907
+  (37.3ms) COMMIT
1908
+ SQL (0.9ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 4, 0, '2012-11-04', 0)
1909
+  (2.0ms) BEGIN
1910
+ SQL (0.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 5, 0, '2012-11-05', 1)
1911
+ SQL (1.7ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 19, 2, '2011-03-19', 6)
1912
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 6, 0, '2012-11-06', 2)
1913
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 7, 0, '2012-11-07', 3)
1914
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 8, 1, '2012-11-08', 4)
1915
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 9, 1, '2012-11-09', 5)
1916
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 10, 1, '2012-11-10', 6)
1917
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 11, 1, '2012-11-11', 0)
1918
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 12, 1, '2012-11-12', 1)
1919
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 13, 1, '2012-11-13', 2)
1920
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 14, 1, '2012-11-14', 3)
1921
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 15, 2, '2012-11-15', 4)
1922
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 16, 2, '2012-11-16', 5)
1923
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 17, 2, '2012-11-17', 6)
1924
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 18, 2, '2012-11-18', 0)
1925
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 19, 2, '2012-11-19', 1)
1926
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 20, 2, '2012-11-20', 2)
1927
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 21, 2, '2012-11-21', 3)
1928
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 22, 3, '2012-11-22', 4)
1929
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 11, 23, 3, '2012-11-23', 5)
1930
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 11, 24, 3, '2012-11-24', 6)
1931
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 11, 25, 3, '2012-11-25', 0)
1932
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 11, 26, 3, '2012-11-26', 1)
1933
+  (38.0ms) COMMIT
1934
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 11, 27, 3, '2012-11-27', 2)
1935
+  (1.7ms) BEGIN
1936
+ SQL (1.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 11, 28, 3, '2012-11-28', 3)
1937
+ SQL (1.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 20, 2, '2011-03-20', 0)
1938
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 11, 29, 4, '2012-11-29', 4)
1939
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 11, 30, 4, '2012-11-30', 5)
1940
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 1, 0, '2012-12-01', 6)
1941
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 2, 0, '2012-12-02', 0)
1942
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 3, 0, '2012-12-03', 1)
1943
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 4, 0, '2012-12-04', 2)
1944
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 5, 0, '2012-12-05', 3)
1945
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 6, 0, '2012-12-06', 4)
1946
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 7, 0, '2012-12-07', 5)
1947
+ SQL (0.9ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 8, 1, '2012-12-08', 6)
1948
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 9, 1, '2012-12-09', 0)
1949
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 10, 1, '2012-12-10', 1)
1950
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 11, 1, '2012-12-11', 2)
1951
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 12, 1, '2012-12-12', 3)
1952
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 13, 1, '2012-12-13', 4)
1953
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 14, 1, '2012-12-14', 5)
1954
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 15, 2, '2012-12-15', 6)
1955
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 16, 2, '2012-12-16', 0)
1956
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 17, 2, '2012-12-17', 1)
1957
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 18, 2, '2012-12-18', 2)
1958
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 19, 2, '2012-12-19', 3)
1959
+  (38.6ms) COMMIT
1960
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 20, 2, '2012-12-20', 4)
1961
+  (1.6ms) BEGIN
1962
+ SQL (2.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 21, 2, '2012-12-21', 5)
1963
+ SQL (2.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 21, 2, '2011-03-21', 1)
1964
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 22, 3, '2012-12-22', 6)
1965
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 23, 3, '2012-12-23', 0)
1966
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 12, 24, 3, '2012-12-24', 1)
1967
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 25, 3, '2012-12-25', 2)
1968
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 26, 3, '2012-12-26', 3)
1969
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 27, 3, '2012-12-27', 4)
1970
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 28, 3, '2012-12-28', 5)
1971
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 29, 4, '2012-12-29', 6)
1972
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 30, 4, '2012-12-30', 0)
1973
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 12, 31, 4, '2012-12-31', 1)
1974
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 1, 0, '2013-01-01', 2)
1975
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 2, 0, '2013-01-02', 3)
1976
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 3, 0, '2013-01-03', 4)
1977
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 4, 0, '2013-01-04', 5)
1978
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 5, 0, '2013-01-05', 6)
1979
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 6, 0, '2013-01-06', 0)
1980
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 7, 0, '2013-01-07', 1)
1981
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 8, 1, '2013-01-08', 2)
1982
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 9, 1, '2013-01-09', 3)
1983
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 10, 1, '2013-01-10', 4)
1984
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 11, 1, '2013-01-11', 5)
1985
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 12, 1, '2013-01-12', 6)
1986
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 13, 1, '2013-01-13', 0)
1987
+  (39.3ms) COMMIT
1988
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 14, 1, '2013-01-14', 1)
1989
+  (1.6ms) BEGIN
1990
+ SQL (1.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 15, 2, '2013-01-15', 2)
1991
+ SQL (1.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 22, 3, '2011-03-22', 2)
1992
+ SQL (0.7ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 16, 2, '2013-01-16', 3)
1993
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 17, 2, '2013-01-17', 4)
1994
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 18, 2, '2013-01-18', 5)
1995
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 19, 2, '2013-01-19', 6)
1996
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 20, 2, '2013-01-20', 0)
1997
+ SQL (1.0ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 1, 21, 2, '2013-01-21', 1)
1998
+ SQL (0.4ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (1, 6, 22, 'some event description', '2013-01-21 22:01:48', NULL, NULL, '2011-12-21 22:01:48', NULL)
1999
+ CalendarEventType Load (0.3ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
2000
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
2001
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
2002
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
2003
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
2004
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
2005
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
2006
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
2007
+ CalendarRecurrence Load (0.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21
2008
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 21 LIMIT 1
2009
+ SQL (0.2ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (21, 12, 21, 2, 3)
2010
+  (80.8ms) COMMIT
2011
+  (0.1ms) BEGIN
2012
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 23, 3, '2011-03-23', 3)
2013
+  (85.5ms) COMMIT
2014
+  (0.5ms) SELECT COUNT(*) FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 21
2015
+  (0.1ms) BEGIN
2016
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
2017
+  (86.3ms) COMMIT
2018
+  (0.1ms) BEGIN
2019
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 3, 24, 3, '2011-03-24', 4)
2020
+  (65.6ms) COMMIT
2021
+  (0.1ms) BEGIN
2022
+  (2.8ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
2023
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (1, 6, 23, 'some event description', '2013-01-21 22:01:48', NULL, NULL, '2011-12-21 22:01:48', NULL)
2024
+ CalendarEventType Load (0.2ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
2025
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 22 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
2026
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 22 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
2027
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 22 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
2028
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 22 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
2029
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 22 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
2030
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 22 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
2031
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 22 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
2032
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 22
2033
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 22 LIMIT 1
2034
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (22, 12, 21, 2, 3)
2035
+  (85.4ms) COMMIT
2036
+  (0.1ms) BEGIN
2037
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 25, 3, '2011-03-25', 5)
2038
+  (54.6ms) COMMIT
2039
+  (24.7ms) SELECT COUNT(*) FROM `calendar_event_dates` WHERE `calendar_event_dates`.`calendar_event_id` = 22
2040
+  (0.1ms) BEGIN
2041
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
2042
+  (86.2ms) COMMIT
2043
+  (0.1ms) BEGIN
2044
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 26, 3, '2011-03-26', 6)
2045
+  (57.8ms) COMMIT
2046
+  (0.1ms) BEGIN
2047
+  (2.6ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
2048
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (1, 6, 24, 'some event description', '2013-01-21 22:01:49', NULL, NULL, '2011-12-21 22:01:49', NULL)
2049
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
2050
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 23 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
2051
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 23 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
2052
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 23 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
2053
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 23 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
2054
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 23 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
2055
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 23 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
2056
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 23 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
2057
+ CalendarRecurrence Load (0.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 23
2058
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 23 LIMIT 1
2059
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (23, 12, 21, 2, 3)
2060
+  (85.9ms) COMMIT
2061
+  (0.1ms) BEGIN
2062
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 27, 3, '2011-03-27', 0)
2063
+  (53.6ms) COMMIT
2064
+ CalendarDate Load (27.8ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 23
2065
+  (0.1ms) BEGIN
2066
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
2067
+  (86.1ms) COMMIT
2068
+  (0.1ms) BEGIN
2069
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 28, 3, '2011-03-28', 1)
2070
+  (54.1ms) COMMIT
2071
+  (0.2ms) BEGIN
2072
+  (2.8ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
2073
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (1, 6, 25, 'some event description', '2013-01-21 22:01:49', NULL, NULL, '2011-12-21 22:01:49', NULL)
2074
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
2075
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 24 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
2076
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 24 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
2077
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 24 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
2078
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 24 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
2079
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 24 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
2080
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 24 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
2081
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 24 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
2082
+ CalendarRecurrence Load (0.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 24
2083
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 24 LIMIT 1
2084
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (24, 12, 21, 2, 3)
2085
+  (86.5ms) COMMIT
2086
+  (0.1ms) BEGIN
2087
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 29, 4, '2011-03-29', 2)
2088
+  (53.7ms) COMMIT
2089
+ CalendarDate Load (28.4ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 24
2090
+  (0.1ms) BEGIN
2091
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
2092
+  (86.2ms) COMMIT
2093
+  (0.1ms) BEGIN
2094
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 30, 4, '2011-03-30', 3)
2095
+  (53.4ms) COMMIT
2096
+  (0.1ms) BEGIN
2097
+  (2.6ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
2098
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 6, 26, 'some event description', '2013-01-21 22:01:49', NULL, NULL, '2011-12-21 22:01:49', NULL)
2099
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
2100
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
2101
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
2102
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
2103
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
2104
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
2105
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
2106
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
2107
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25
2108
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 25 LIMIT 1
2109
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (25, 12, 21, 2, 3)
2110
+  (97.4ms) COMMIT
2111
+  (0.1ms) BEGIN
2112
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (1, 3, 31, 4, '2011-03-31', 4)
2113
+  (75.4ms) COMMIT
2114
+  (0.4ms) SELECT COUNT(*) FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 25
2115
+  (0.1ms) BEGIN
2116
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
2117
+  (108.4ms) COMMIT
2118
+  (0.1ms) BEGIN
2119
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 1, 0, '2011-04-01', 5)
2120
+  (105.5ms) COMMIT
2121
+  (0.1ms) BEGIN
2122
+  (2.6ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
2123
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 6, 27, 'some event description', '2013-01-21 22:01:49', NULL, NULL, '2011-12-21 22:01:49', NULL)
2124
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
2125
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 26 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
2126
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 26 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
2127
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 26 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
2128
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 26 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
2129
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 26 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
2130
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 26 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
2131
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 26 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
2132
+ CalendarRecurrence Load (0.2ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 26
2133
+ CalendarEvent Load (0.4ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 26 LIMIT 1
2134
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (26, 12, 21, 2, 3)
2135
+  (108.1ms) COMMIT
2136
+  (0.1ms) BEGIN
2137
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 2, 0, '2011-04-02', 6)
2138
+  (75.7ms) COMMIT
2139
+  (27.8ms) SELECT COUNT(*) FROM `calendar_event_dates` WHERE `calendar_event_dates`.`calendar_event_id` = 26
2140
+  (0.1ms) BEGIN
2141
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
2142
+  (108.5ms) COMMIT
2143
+  (0.1ms) BEGIN
2144
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 3, 0, '2011-04-03', 0)
2145
+  (77.1ms) COMMIT
2146
+  (0.1ms) BEGIN
2147
+  (3.3ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
2148
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 6, 28, 'some event description', '2013-01-21 22:01:49', NULL, NULL, '2011-12-21 22:01:49', NULL)
2149
+ CalendarEventType Load (0.1ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
2150
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 27 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
2151
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 27 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
2152
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 27 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
2153
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 27 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
2154
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 27 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
2155
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 27 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
2156
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 27 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
2157
+  (106.8ms) COMMIT
2158
+ CalendarRecurrence Load (1.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 27
2159
+  (3.0ms) BEGIN
2160
+ CalendarEvent Load (2.1ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 27 LIMIT 1
2161
+ SQL (1.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 4, 0, '2011-04-04', 1)
2162
+ SQL (0.7ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (27, 12, 21, 2, 3)
2163
+  (47.8ms) COMMIT
2164
+  (0.1ms) BEGIN
2165
+ SQL (0.2ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 5, 0, '2011-04-05', 2)
2166
+  (102.8ms) COMMIT
2167
+ CalendarDate Load (29.9ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 27
2168
+  (0.1ms) BEGIN
2169
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
2170
+  (108.2ms) COMMIT
2171
+  (0.1ms) BEGIN
2172
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 6, 0, '2011-04-06', 3)
2173
+  (74.0ms) COMMIT
2174
+  (0.1ms) BEGIN
2175
+  (2.6ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
2176
+ SQL (0.3ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 6, 29, 'some event description', '2013-01-21 22:01:50', NULL, NULL, '2011-12-21 22:01:50', NULL)
2177
+ CalendarEventType Load (0.2ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
2178
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 28 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
2179
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 28 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
2180
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 28 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
2181
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 28 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
2182
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 28 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
2183
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 28 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
2184
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 28 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
2185
+ CalendarRecurrence Load (0.3ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 28
2186
+ CalendarEvent Load (0.3ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 28 LIMIT 1
2187
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (28, 12, 21, 2, 3)
2188
+  (97.1ms) COMMIT
2189
+  (0.1ms) BEGIN
2190
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 7, 0, '2011-04-07', 4)
2191
+  (53.0ms) COMMIT
2192
+ CalendarDate Load (30.2ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 28
2193
+  (0.1ms) BEGIN
2194
+ SQL (0.2ms) INSERT INTO `calendars` (`desc`) VALUES ('Test calendar')
2195
+  (85.7ms) COMMIT
2196
+  (0.1ms) BEGIN
2197
+ SQL (0.6ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 8, 1, '2011-04-08', 5)
2198
+  (52.2ms) COMMIT
2199
+  (0.3ms) BEGIN
2200
+  (4.8ms) SELECT COUNT(*) FROM `calendar_dates` WHERE (value IN ('2011-12-21','2011-12-22','2011-12-23','2011-12-24','2011-12-25','2011-12-26','2011-12-27','2011-12-28','2011-12-29','2011-12-30','2011-12-31','2012-01-01','2012-01-02','2012-01-03','2012-01-04','2012-01-05','2012-01-06','2012-01-07','2012-01-08','2012-01-09','2012-01-10','2012-01-11','2012-01-12','2012-01-13','2012-01-14','2012-01-15','2012-01-16','2012-01-17','2012-01-18','2012-01-19','2012-01-20','2012-01-21','2012-01-22','2012-01-23','2012-01-24','2012-01-25','2012-01-26','2012-01-27','2012-01-28','2012-01-29','2012-01-30','2012-01-31','2012-02-01','2012-02-02','2012-02-03','2012-02-04','2012-02-05','2012-02-06','2012-02-07','2012-02-08','2012-02-09','2012-02-10','2012-02-11','2012-02-12','2012-02-13','2012-02-14','2012-02-15','2012-02-16','2012-02-17','2012-02-18','2012-02-19','2012-02-20','2012-02-21','2012-02-22','2012-02-23','2012-02-24','2012-02-25','2012-02-26','2012-02-27','2012-02-28','2012-02-29','2012-03-01','2012-03-02','2012-03-03','2012-03-04','2012-03-05','2012-03-06','2012-03-07','2012-03-08','2012-03-09','2012-03-10','2012-03-11','2012-03-12','2012-03-13','2012-03-14','2012-03-15','2012-03-16','2012-03-17','2012-03-18','2012-03-19','2012-03-20','2012-03-21','2012-03-22','2012-03-23','2012-03-24','2012-03-25','2012-03-26','2012-03-27','2012-03-28','2012-03-29','2012-03-30','2012-03-31','2012-04-01','2012-04-02','2012-04-03','2012-04-04','2012-04-05','2012-04-06','2012-04-07','2012-04-08','2012-04-09','2012-04-10','2012-04-11','2012-04-12','2012-04-13','2012-04-14','2012-04-15','2012-04-16','2012-04-17','2012-04-18','2012-04-19','2012-04-20','2012-04-21','2012-04-22','2012-04-23','2012-04-24','2012-04-25','2012-04-26','2012-04-27','2012-04-28','2012-04-29','2012-04-30','2012-05-01','2012-05-02','2012-05-03','2012-05-04','2012-05-05','2012-05-06','2012-05-07','2012-05-08','2012-05-09','2012-05-10','2012-05-11','2012-05-12','2012-05-13','2012-05-14','2012-05-15','2012-05-16','2012-05-17','2012-05-18','2012-05-19','2012-05-20','2012-05-21','2012-05-22','2012-05-23','2012-05-24','2012-05-25','2012-05-26','2012-05-27','2012-05-28','2012-05-29','2012-05-30','2012-05-31','2012-06-01','2012-06-02','2012-06-03','2012-06-04','2012-06-05','2012-06-06','2012-06-07','2012-06-08','2012-06-09','2012-06-10','2012-06-11','2012-06-12','2012-06-13','2012-06-14','2012-06-15','2012-06-16','2012-06-17','2012-06-18','2012-06-19','2012-06-20','2012-06-21','2012-06-22','2012-06-23','2012-06-24','2012-06-25','2012-06-26','2012-06-27','2012-06-28','2012-06-29','2012-06-30','2012-07-01','2012-07-02','2012-07-03','2012-07-04','2012-07-05','2012-07-06','2012-07-07','2012-07-08','2012-07-09','2012-07-10','2012-07-11','2012-07-12','2012-07-13','2012-07-14','2012-07-15','2012-07-16','2012-07-17','2012-07-18','2012-07-19','2012-07-20','2012-07-21','2012-07-22','2012-07-23','2012-07-24','2012-07-25','2012-07-26','2012-07-27','2012-07-28','2012-07-29','2012-07-30','2012-07-31','2012-08-01','2012-08-02','2012-08-03','2012-08-04','2012-08-05','2012-08-06','2012-08-07','2012-08-08','2012-08-09','2012-08-10','2012-08-11','2012-08-12','2012-08-13','2012-08-14','2012-08-15','2012-08-16','2012-08-17','2012-08-18','2012-08-19','2012-08-20','2012-08-21','2012-08-22','2012-08-23','2012-08-24','2012-08-25','2012-08-26','2012-08-27','2012-08-28','2012-08-29','2012-08-30','2012-08-31','2012-09-01','2012-09-02','2012-09-03','2012-09-04','2012-09-05','2012-09-06','2012-09-07','2012-09-08','2012-09-09','2012-09-10','2012-09-11','2012-09-12','2012-09-13','2012-09-14','2012-09-15','2012-09-16','2012-09-17','2012-09-18','2012-09-19','2012-09-20','2012-09-21','2012-09-22','2012-09-23','2012-09-24','2012-09-25','2012-09-26','2012-09-27','2012-09-28','2012-09-29','2012-09-30','2012-10-01','2012-10-02','2012-10-03','2012-10-04','2012-10-05','2012-10-06','2012-10-07','2012-10-08','2012-10-09','2012-10-10','2012-10-11','2012-10-12','2012-10-13','2012-10-14','2012-10-15','2012-10-16','2012-10-17','2012-10-18','2012-10-19','2012-10-20','2012-10-21','2012-10-22','2012-10-23','2012-10-24','2012-10-25','2012-10-26','2012-10-27','2012-10-28','2012-10-29','2012-10-30','2012-10-31','2012-11-01','2012-11-02','2012-11-03','2012-11-04','2012-11-05','2012-11-06','2012-11-07','2012-11-08','2012-11-09','2012-11-10','2012-11-11','2012-11-12','2012-11-13','2012-11-14','2012-11-15','2012-11-16','2012-11-17','2012-11-18','2012-11-19','2012-11-20','2012-11-21','2012-11-22','2012-11-23','2012-11-24','2012-11-25','2012-11-26','2012-11-27','2012-11-28','2012-11-29','2012-11-30','2012-12-01','2012-12-02','2012-12-03','2012-12-04','2012-12-05','2012-12-06','2012-12-07','2012-12-08','2012-12-09','2012-12-10','2012-12-11','2012-12-12','2012-12-13','2012-12-14','2012-12-15','2012-12-16','2012-12-17','2012-12-18','2012-12-19','2012-12-20','2012-12-21','2012-12-22','2012-12-23','2012-12-24','2012-12-25','2012-12-26','2012-12-27','2012-12-28','2012-12-29','2012-12-30','2012-12-31','2013-01-01','2013-01-02','2013-01-03','2013-01-04','2013-01-05','2013-01-06','2013-01-07','2013-01-08','2013-01-09','2013-01-10','2013-01-11','2013-01-12','2013-01-13','2013-01-14','2013-01-15','2013-01-16','2013-01-17','2013-01-18','2013-01-19','2013-01-20','2013-01-21'))
2201
+ SQL (0.4ms) INSERT INTO `calendar_events` (`by_day_of_month`, `calendar_event_type_id`, `calendar_id`, `desc`, `end_date`, `end_time`, `long_desc`, `start_date`, `start_time`) VALUES (0, 6, 30, 'some event description', '2013-01-21 22:01:50', NULL, NULL, '2011-12-21 22:01:50', NULL)
2202
+ CalendarEventType Load (0.2ms) SELECT `calendar_event_types`.* FROM `calendar_event_types` WHERE `calendar_event_types`.`id` = 6 LIMIT 1
2203
+ CalendarRecurrence Load (0.7ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 29 AND `calendar_recurrences`.`weekday` = 0 LIMIT 1
2204
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 29 AND `calendar_recurrences`.`weekday` = 1 LIMIT 1
2205
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 29 AND `calendar_recurrences`.`weekday` = 2 LIMIT 1
2206
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 29 AND `calendar_recurrences`.`weekday` = 3 LIMIT 1
2207
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 29 AND `calendar_recurrences`.`weekday` = 4 LIMIT 1
2208
+ CalendarRecurrence Load (0.5ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 29 AND `calendar_recurrences`.`weekday` = 5 LIMIT 1
2209
+  (85.7ms) COMMIT
2210
+  (0.1ms) BEGIN
2211
+ SQL (0.4ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 9, 1, '2011-04-09', 6)
2212
+ CalendarRecurrence Load (4.9ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 29 AND `calendar_recurrences`.`weekday` = 6 LIMIT 1
2213
+ CalendarRecurrence Load (0.4ms) SELECT `calendar_recurrences`.* FROM `calendar_recurrences` WHERE `calendar_recurrences`.`calendar_event_id` = 29
2214
+ CalendarEvent Load (0.5ms) SELECT `calendar_events`.* FROM `calendar_events` WHERE `calendar_events`.`id` = 29 LIMIT 1
2215
+ SQL (0.3ms) INSERT INTO `calendar_recurrences` (`calendar_event_id`, `month`, `monthday`, `monthweek`, `weekday`) VALUES (29, 12, 21, 2, 3)
2216
+  (40.9ms) COMMIT
2217
+  (0.1ms) BEGIN
2218
+ SQL (0.3ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 10, 1, '2011-04-10', 0)
2219
+  (76.0ms) COMMIT
2220
+  (84.0ms) COMMIT
2221
+  (0.1ms) BEGIN
2222
+ SQL (0.5ms) INSERT INTO `calendar_dates` (`lastweek`, `month`, `monthday`, `monthweek`, `value`, `weekday`) VALUES (0, 4, 11, 1, '2011-04-11', 1)
2223
+ CalendarDate Load (55.5ms) SELECT `calendar_dates`.* FROM `calendar_dates` INNER JOIN `calendar_event_dates` ON `calendar_dates`.`id` = `calendar_event_dates`.`calendar_date_id` WHERE `calendar_event_dates`.`calendar_event_id` = 29
2224
+  (12.9ms) COMMIT