diff options
author | sasha@mysql.sashanet.com <> | 2001-10-05 13:18:18 -0600 |
---|---|---|
committer | sasha@mysql.sashanet.com <> | 2001-10-05 13:18:18 -0600 |
commit | 1bea4bd36b67f4e98556ec8282f1cac7b50dde71 (patch) | |
tree | e86eb32a57800dd314cb337a50b592f4d440331b /sql | |
parent | 38d120b055bbf565c88e482880766fe8cd07d244 (diff) | |
download | mariadb-git-1bea4bd36b67f4e98556ec8282f1cac7b50dde71.tar.gz |
fixed crash on slave when master aborts a query that has % in it.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/slave.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 5836ac441e1..b550b849a09 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -862,7 +862,7 @@ point. If you are sure that your master is ok, run this query manually on the\ slave and then restart the slave with SET SQL_SLAVE_SKIP_COUNTER=1;\ SLAVE START;", thd->query); last_slave_errno = expected_error; - sql_print_error(last_slave_error); + sql_print_error("%s",last_slave_error); return 1; default: return 0; |