1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

Don't generate message in send_kill_message() if wrong data. (Caused core dump for wrong data in ALTER TABLE on some system)

sql/item_timefunc.cc:
  Removed warning reported by valgrind
sql/sql_error.cc:
  Fixed comment
sql/sql_table.cc:
  Fixed comment
This commit is contained in:
unknown
2005-04-05 01:19:48 +03:00
parent 4ade769345
commit f3aa7770b6
4 changed files with 9 additions and 6 deletions

View File

@@ -1410,7 +1410,8 @@ public:
inline void send_kill_message() const
{
int err= killed_errno();
my_message(err, ER(err), MYF(0));
if (err)
my_message(err, ER(err), MYF(0));
}
/* return TRUE if we will abort query if we make a warning now */
inline bool really_abort_on_warning()