diff options
author | msvensson@neptunus.(none) <> | 2005-04-14 11:56:13 +0200 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2005-04-14 11:56:13 +0200 |
commit | f1496eb6f774072b129da11eef4009ecf3cb6ae9 (patch) | |
tree | 2ddde92ea3ac17c2e2e62b4c4b45395706202f3b /sql/sql_db.cc | |
parent | 32221d9b9e17867e5b2596e7ae36b0aa08dcc6fb (diff) | |
download | mariadb-git-f1496eb6f774072b129da11eef4009ecf3cb6ae9.tar.gz |
BUG#9455 mysqladmin status crash the server
- Send error to client when mysql_change_db fails.
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r-- | sql/sql_db.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc index 1f345a28d2c..3bdd800cd2f 100644 --- a/sql/sql_db.cc +++ b/sql/sql_db.cc @@ -1009,6 +1009,9 @@ err: replication slave SQL thread (for that thread, setting of thd->db is done in ::exec_event() methods of log_event.cc). + This function does not send the error message to the client, if that + should be sent to the client, call net_send_error after this function + RETURN VALUES 0 ok 1 error |