diff options
author | unknown <gkodinov/kgeorge@magare.gmz> | 2007-08-06 04:57:28 -0700 |
---|---|---|
committer | unknown <gkodinov/kgeorge@magare.gmz> | 2007-08-06 04:57:28 -0700 |
commit | d0f21f84feba4d745fda76ac99179bb47bb471b1 (patch) | |
tree | f1023c618054e8ed26dac043765fd501153cde4d /sql/handler.cc | |
parent | 11cf193b7aa2be221a2a851ac634f499eecb2e4d (diff) | |
download | mariadb-git-d0f21f84feba4d745fda76ac99179bb47bb471b1.tar.gz |
Bug #29536: timestamp inconsistent in replication around 1970
MySQL replicates the time zone only when operations that involve
it are performed. This is controlled by a flag. But this flag
is set only on successful operation.
The flag must be set also when there is an error that involves
a timezone (so the master would replicate the error to the slaves).
Fixed by moving the setting of the flag before the operation
(so it apples to errors as well).
mysql-test/r/rpl_timezone.result:
Bug #29536: test case
mysql-test/t/rpl_timezone.test:
Bug #29536: test case
sql/field.cc:
Bug #29536: move setting of the flag before the operation
(so it apples to errors as well).
sql/time.cc:
Bug #29536: move setting of the flag before the operation
(so it apples to errors as well).
Diffstat (limited to 'sql/handler.cc')
0 files changed, 0 insertions, 0 deletions