diff options
author | sasha@mysql.sashanet.com <> | 2001-02-14 21:31:35 -0700 |
---|---|---|
committer | sasha@mysql.sashanet.com <> | 2001-02-14 21:31:35 -0700 |
commit | 4ae63ecab859a56aaae54d236f5364b99657f0b8 (patch) | |
tree | 4dc4aeb764579d792c7799e59a7ab147ef8bad0a /sql | |
parent | 3f25e2f3be4caab648fa97b51749940a38603f59 (diff) | |
parent | afaf0cbd0f2e466d2d8eb496b0dc98b5ccd26b6e (diff) | |
download | mariadb-git-4ae63ecab859a56aaae54d236f5364b99657f0b8.tar.gz |
Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
Diffstat (limited to 'sql')
-rw-r--r-- | sql/slave.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index f0e4236c29d..0c43c992c22 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -857,7 +857,8 @@ static int exec_event(THD* thd, NET* net, MASTER_INFO* mi, int event_len) thd->server_id = ev->server_id; // use the original server id for logging thd->set_time(); // time the query - ev->when = time(NULL); + if(!ev->when) + ev->when = time(NULL); switch(type_code) { case QUERY_EVENT: |