• unknown's avatar
    re-push of Bug 29536 for 5.1.22: timestamp inconsistent in replication around 1970 · af9f7a23
    unknown authored
      
    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).
    
    
    mysql-test/suite/rpl/r/rpl_timezone.result:
      repush of Bug 29536 for 5.1.22 tree: test case
    mysql-test/suite/rpl/t/rpl_timezone.test:
      repush of Bug 29536 for 5.1.22 tree: test case
    sql/field.cc:
      re-push of Bug 29536 for 5.1.22: move setting of the flag before the operation
      (so it apples to errors as well).
    sql/time.cc:
      re-push of Bug 29536 for 5.1.22: move setting of the flag before the operation
      (so it apples to errors as well).
    af9f7a23
rpl_timezone.test 4.77 KB