diff options
author | guilhem@gbichot2 <> | 2003-10-09 00:06:21 +0200 |
---|---|---|
committer | guilhem@gbichot2 <> | 2003-10-09 00:06:21 +0200 |
commit | c0075fa64bd2bf33b8742288945882ade170561a (patch) | |
tree | 04ae3b48547dd3595548a23422470803ab6ca73b /sql/sql_client.cc | |
parent | 324ff6dedfea1bfa42dff86c2cb966bd92c2464a (diff) | |
download | mariadb-git-c0075fa64bd2bf33b8742288945882ade170561a.tar.gz |
Final push for WL#1098:
"Add a column "Timestamp_of_last_master_event_executed" in SHOW SLAVE STATUS".
Finally this is adding
- Slave_IO_State (a copy of the State column of SHOW PROCESSLIST for the I/O thread,
so that the users, most of the time, has enough info with only SHOW SLAVE STATUS).
- Seconds_behind_master. When the slave connects to the master it does SELECT UNIX_TIMESTAMP()
on the master, computes the absolute difference between the master's and the slave's clock.
It records the timestamp of the last event executed by the SQL thread, and does a
small computation to find the number of seconds by which the slave is late.
Diffstat (limited to 'sql/sql_client.cc')
0 files changed, 0 insertions, 0 deletions