unknown
ac46bf77ae
Last part of WL#1062: better replication of timezones: no more use
...
of SET ONE_SHOT; storing tz info directly in event (if this info is needed),
it's now allowed to have different global tz on master and slave.
client/mysqlbinlog.cc:
we need MAX_TIME_ZONE_NAME_LENGTH when processing log_event.h, and it's declared in mysql_priv.h
mysql-test/r/rpl_timezone.result:
result update
mysql-test/t/rpl_timezone-slave.opt:
Now that we can have different global value of timezone on master and slave, let's test it.
mysql-test/t/rpl_timezone.test:
Tests of the new replication of timezones: checking the output of mysqlbinlog,
replication of CONVERT_TZ().
sql/ha_innodb.cc:
No very fast shutdown on Netware (anyway it's disabled on all platforms,
but this is so that we don't forget to keep it disabled on Netware in the future).
sql/log.cc:
No more need to write SET ONE_SHOT to binlog for character set and timezone
(as we store this info directly nin the Query_log_event now).
sql/log_event.cc:
Exclude ::write() methods if MYSQL_CLIENT.
Storing timezone info in the Query_log_event in master. Re-reading it in slave.
Small code cleanups. I plan to not store the end 0 of catalog in binlog
events soon.
sql/log_event.h:
replication of time zones: a place for tz info in Query_log_event,
in LAST_EVENT_INFO. Plus if we are compiling a client, we don't need
the ::write() methods, so keeping them out (of mysqlbinlog.cc;
keeping them in, resulted in problem that mysqlbinlog does not know Timezone
structure).
sql/mysql_priv.h:
moving this define from tztime.h (tztime.h has things which are
too much for a client like mysqlbinlog).
sql/set_var.cc:
It's now allowed to change global value of charset or timezone even if using binlogging
or if being a slave.
Making CONVERT_TZ(,,@@session.time_zone) replicate.
sql/set_var.h:
these ::check()s are not needed anymore (changing global charset
or timezone is now allowed even if binlogging or slave)
sql/slave.cc:
No more need to check for same global timezone if master is 5.x
(ok, strictly speaking if it is > 5.0.3 but this is alpha).
sql/slave.h:
a function to wrap settings of charset to default.
sql/tztime.cc:
Adaptation of my_tz_find() to the case where it's not called from inside
a query (i.e. cannot join its tz tables to the query's ones): this variant
opens the tz tables itself, reads from them, and closes them. This is presently
only used by the slave SQL thread (when it sets the tz before executing a query).
sql/tztime.h:
declaration of new function, plus moving symbol to mysql_priv.h
for easier usage in mysqlbinlog (Dmitri, pardon me).
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
2005-03-22 00:26:12 +01:00
..
2005-01-18 17:45:49 +03:00
2005-02-21 19:20:05 +04:00
2005-02-17 07:12:31 +03:00
2005-01-26 15:51:46 +01:00
2004-10-07 13:02:39 +04:00
2005-02-24 23:33:42 +02:00
2004-12-02 16:08:17 +04:00
2005-03-17 01:22:12 +02:00
2005-02-28 23:50:06 +03:00
2004-11-16 12:05:13 +04:00
2005-02-23 20:35:59 +01:00
2005-03-16 23:12:27 +03:00
2004-11-27 19:26:46 +00:00
2005-02-09 02:50:45 +04:00
2005-03-07 20:53:51 +04:00
2005-01-31 18:48:42 -08:00
2004-11-02 20:13:27 +02:00
2005-02-01 16:27:08 +02:00
2004-10-28 14:02:09 +03:00
2004-11-10 17:56:45 +01:00
2005-03-15 16:54:11 +03:00
2004-11-10 14:36:21 +04:00
2004-08-26 18:26:38 +03:00
2005-01-18 20:16:21 +02:00
2004-08-12 20:57:18 -07:00
2005-01-13 18:12:04 +04:00
2005-02-01 14:37:51 +04:00
2005-03-03 14:15:37 +04:00
2005-02-26 17:15:04 +03:00
2004-12-06 19:01:51 +03:00
2005-02-01 14:37:51 +04:00
2005-02-18 16:10:12 +04:00
2005-02-22 09:56:07 +04:00
2004-11-02 16:02:12 +04:00
2005-02-03 16:07:32 -08:00
2005-01-13 18:12:04 +04:00
2005-01-13 18:12:04 +04:00
2005-03-16 04:32:47 +03:00
2005-01-13 18:12:04 +04:00
2005-03-15 17:15:47 +04:00
2004-12-22 18:58:25 +03:00
2005-01-06 16:59:29 +02:00
2005-02-15 21:03:17 -08:00
2005-02-22 15:47:00 +02:00
2005-03-16 09:23:38 +01:00
2005-02-04 22:43:54 +01:00
2004-12-31 12:04:35 +02:00
2004-12-06 19:18:35 +02:00
2004-08-13 17:14:36 -07:00
2005-03-15 18:49:58 -08:00
2004-12-17 23:37:43 +01:00
2004-12-13 14:21:59 +01:00
2004-12-02 23:02:38 +01:00
2004-10-06 19:14:33 +03:00
2005-03-16 08:40:19 +01:00
2004-09-03 22:04:08 +02:00
2005-02-17 02:59:39 +01:00
2004-10-26 19:30:01 +03:00
2004-10-26 19:30:01 +03:00
2005-03-08 19:45:55 +01:00
2005-03-09 12:29:51 +01:00
2005-01-12 03:38:53 +02:00
2005-01-02 14:15:51 +03:00
2005-02-09 02:50:45 +04:00
2005-03-17 16:51:07 +03:00
2005-03-15 03:46:19 +03:00
2004-10-06 19:14:33 +03:00
2005-01-20 15:38:56 +04:00
2004-08-18 12:11:26 +05:00
2004-12-20 13:47:38 +04:00
2005-02-04 09:14:22 +03:00
2004-06-19 13:26:39 +03:00
2005-01-15 14:09:45 +02:00
2005-02-19 18:58:27 +02:00
2005-03-17 16:51:07 +03:00
2005-03-04 14:20:49 +04:00
2005-02-03 23:08:43 +00:00
2005-01-04 13:46:53 +02:00
2004-12-10 16:06:49 +04:00
2004-10-22 20:32:02 +05:00
2005-03-17 08:16:56 +02:00
2004-09-06 15:14:10 +03:00
2004-12-31 15:26:24 +01:00
2005-02-15 14:42:13 +02:00
2005-02-28 16:20:02 +02:00
2004-10-07 10:50:13 +03:00
2005-01-04 13:46:53 +02:00
2005-02-08 23:44:51 +03:00
2005-03-15 19:31:52 +04:00
2005-01-17 00:18:19 +03:00
2005-02-22 18:30:44 +03:00
2004-05-29 02:04:01 +04:00
2005-02-02 07:51:43 +03:00
2004-12-31 00:44:00 +02:00
2005-03-15 20:54:44 +03:00
2004-12-16 11:41:52 +01:00
2004-06-26 14:21:32 +02:00
2004-10-27 18:57:49 +03:00
2005-03-17 01:22:12 +02:00
2005-03-16 04:32:47 +03:00
2005-02-17 01:33:59 +00:00
2004-11-08 17:53:32 +02:00
2004-08-12 23:41:06 -07:00
2005-03-14 18:46:30 +01:00
2004-08-02 11:12:11 +02:00
2004-12-07 13:56:48 +03:00
2004-11-22 21:33:15 +01:00
2005-02-24 19:13:55 +01:00
2005-02-02 08:38:24 +02:00
2005-03-16 12:13:35 +03:00
2004-10-06 19:14:33 +03:00
2005-03-04 16:35:28 +03:00
2005-02-08 15:14:14 -08:00
2005-02-14 18:23:10 +03:00
2005-02-15 13:36:46 -08:00
2005-02-15 13:36:46 -08:00
2004-12-31 00:44:00 +02:00
2004-09-07 19:58:02 +03:00
2004-11-24 19:48:30 +02:00
2004-12-31 15:26:24 +01:00
2004-10-26 19:30:01 +03:00
2004-11-04 19:19:23 +01:00
2005-03-16 04:32:47 +03:00
2005-02-17 11:48:44 -08:00
2005-02-17 11:48:44 -08:00
2005-02-03 18:26:59 +00:00
2005-03-17 01:22:12 +02:00
2005-02-22 12:51:23 +02:00
2004-09-30 19:40:33 +02:00
2005-03-16 04:32:47 +03:00
2005-03-16 04:32:47 +03:00
2005-03-16 04:32:47 +03:00
2004-11-02 20:13:27 +02:00
2005-03-09 14:09:06 +01:00
2004-11-08 11:06:36 +01:00
2005-02-17 14:22:44 +01:00
2005-02-07 13:26:44 +01:00
2004-12-23 15:30:34 +01:00
2004-12-22 13:38:15 +01:00
2005-03-15 15:03:25 +01:00
2005-02-21 11:45:51 +01:00
2004-12-16 11:09:06 +01:00
2005-02-04 10:56:53 +01:00
2005-01-09 11:00:37 +01:00
2005-03-14 15:26:10 +01:00
2004-11-29 17:46:32 +00:00
2005-02-16 21:19:42 +01:00
2005-01-26 15:19:13 +01:00
2004-09-17 14:09:21 +02:00
2004-11-18 12:11:56 +01:00
2004-09-30 21:36:25 +00:00
2004-10-13 10:08:18 +02:00
2005-03-07 10:21:38 +01:00
2004-12-01 12:43:30 +01:00
2004-08-31 12:07:48 +02:00
2005-02-03 17:04:27 +01:00
2004-10-07 08:42:11 +00:00
2004-08-31 14:35:04 +03:00
2004-08-04 11:28:36 +02:00
2004-07-19 11:38:28 +02:00
2005-01-13 09:22:00 +01:00
2004-08-31 21:10:57 +03:00
2004-09-09 06:59:26 +03:00
2004-11-11 18:58:57 -08:00
2005-03-16 15:55:04 -08:00
2004-12-01 02:35:02 +01:00
2005-01-27 12:18:02 +01:00
2004-10-10 15:29:06 +05:00
2005-02-22 15:47:00 +02:00
2004-09-25 19:08:02 +04:00
2004-09-25 19:08:02 +04:00
2004-12-17 14:27:39 +01:00
2004-12-17 14:27:39 +01:00
2004-09-25 19:08:02 +04:00
2004-11-30 15:08:26 +00:00
2004-11-02 15:09:57 +01:00
2004-10-21 16:02:12 +02:00
2005-03-03 17:38:59 +03:00
2005-03-11 15:06:03 -08:00
2004-11-22 22:57:05 +01:00
2004-10-07 10:50:13 +03:00
2004-10-26 19:30:01 +03:00
2005-02-15 16:45:00 +02:00
2005-03-02 17:52:38 +01:00
2005-03-16 15:57:57 +03:00
2004-08-24 12:58:12 +02:00
2004-07-15 04:19:07 +03:00
2004-07-15 04:19:07 +03:00
2004-09-15 22:10:31 +03:00
2004-11-21 16:42:54 +02:00
2005-03-02 17:52:38 +01:00
2005-03-16 04:32:47 +03:00
2004-10-20 17:28:40 +03:00
2004-12-03 12:13:51 +01:00
2004-12-03 12:13:51 +01:00
2004-12-06 17:15:54 +02:00
2005-03-02 11:29:48 +01:00
2005-03-16 04:32:47 +03:00
2005-02-17 02:59:39 +01:00
2004-07-08 18:54:07 +05:00
2005-02-14 23:47:17 +01:00
2005-02-14 23:47:17 +01:00
2004-07-20 11:00:10 +02:00
2005-02-21 20:41:48 +02:00
2005-03-16 04:32:47 +03:00
2004-11-08 01:13:54 +02:00
2004-11-03 18:23:58 +01:00
2005-03-16 04:32:47 +03:00
2004-06-11 16:25:18 +03:00
2004-06-11 16:25:18 +03:00
2005-03-02 17:52:38 +01:00
2004-09-06 15:14:10 +03:00
2004-07-08 18:54:07 +05:00
2005-02-23 19:58:54 +01:00
2004-12-16 23:14:41 +01:00
2004-12-16 23:14:41 +01:00
2005-03-16 04:32:47 +03:00
2005-03-16 04:32:47 +03:00
2005-03-16 04:32:47 +03:00
2005-03-16 04:32:47 +03:00
2005-03-16 04:32:47 +03:00
2005-03-16 04:32:47 +03:00
2005-01-10 15:13:33 +01:00
2005-03-16 04:32:47 +03:00
2005-01-30 10:24:03 +00:00
2005-01-31 13:18:36 +00:00
2004-10-29 19:26:52 +03:00
2004-09-06 15:14:10 +03:00
2004-11-15 17:03:54 +01:00
2004-11-15 17:03:54 +01:00
2005-02-25 17:12:06 +02:00
2004-06-03 23:17:18 +02:00
2004-09-07 21:30:28 +02:00
2004-11-25 09:26:45 +01:00
2005-03-16 04:32:47 +03:00
2004-06-18 10:11:31 +04:00
2005-03-22 00:26:12 +01:00
2005-03-22 00:26:12 +01:00
2005-02-19 22:24:13 +01:00
2005-03-16 04:32:47 +03:00
2005-03-16 04:32:47 +03:00
2005-01-17 01:18:08 +02:00
2004-10-01 12:39:11 -07:00
2005-02-28 19:59:38 +04:00
2005-02-28 20:21:21 +03:00
2005-03-16 00:13:23 +00:00
2005-02-05 06:23:23 +03:00
2005-02-14 20:33:14 -08:00
2005-02-14 20:33:14 -08:00
2005-02-28 18:07:06 +01:00
2004-12-23 10:46:24 +00:00
2004-08-06 18:11:14 +02:00
2005-03-17 19:26:36 +02:00
2005-02-03 16:14:02 -08:00
2004-10-26 19:30:01 +03:00
2005-03-10 17:08:45 +04:00
2004-08-24 10:15:39 +03:00
2005-02-06 13:06:12 +02:00
2005-02-21 19:20:05 +04:00
2005-03-15 03:46:19 +03:00
2005-03-03 15:01:46 -08:00
2005-01-03 21:04:33 +02:00
2005-01-04 13:46:53 +02:00
2004-07-09 02:29:28 +03:00
2005-01-03 21:04:33 +02:00
2004-11-02 20:13:27 +02:00
2005-01-28 10:22:50 +03:00
2004-11-03 17:59:03 +00:00
2004-11-03 17:59:03 +00:00
2004-06-18 10:11:31 +04:00
2005-01-04 13:46:53 +02:00
2004-08-24 17:24:23 +02:00
2005-02-21 18:03:06 +04:00
2005-01-04 13:46:53 +02:00
2005-02-01 15:08:31 -08:00
2004-12-30 21:37:32 +03:00
2005-02-22 21:58:10 +03:00
2004-12-07 14:08:56 +03:00
2005-02-22 12:51:23 +02:00
2005-03-04 23:06:00 +04:00
2004-12-07 15:47:00 +02:00
2005-02-28 11:59:46 +02:00
2005-01-15 14:09:45 +02:00
2004-08-18 19:57:55 +02:00
2004-12-19 20:25:19 +02:00
2005-02-15 17:12:13 +02:00
2005-03-17 10:59:25 +04:00
2005-01-20 00:54:01 +03:00
2005-03-16 04:32:47 +03:00
2005-02-17 16:16:58 -08:00
2005-01-27 14:21:37 +02:00
2004-07-20 01:01:02 +03:00
2004-07-20 01:01:02 +03:00
2005-03-15 20:54:44 +03:00
2005-02-23 20:22:51 +03:00