diff options
| author | monty@mysql.com <> | 2005-04-05 01:19:48 +0300 |
|---|---|---|
| committer | monty@mysql.com <> | 2005-04-05 01:19:48 +0300 |
| commit | 48de1ff27744c996d7f3b63e4b75eeaeb96c9f0c (patch) | |
| tree | 0a8eb6af750f9b55ae42a273743dbe99b94a08bb /sql/sql_error.cc | |
| parent | e726bbb3d71788d61f8eeb692022086db38b0c4d (diff) | |
| download | mariadb-git-48de1ff27744c996d7f3b63e4b75eeaeb96c9f0c.tar.gz | |
Don't generate message in send_kill_message() if wrong data. (Caused core dump for wrong data in ALTER TABLE on some system)
Diffstat (limited to 'sql/sql_error.cc')
| -rw-r--r-- | sql/sql_error.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_error.cc b/sql/sql_error.cc index c1e1afa9eeb..04fd27abef5 100644 --- a/sql/sql_error.cc +++ b/sql/sql_error.cc @@ -133,7 +133,7 @@ MYSQL_ERROR *push_warning(THD *thd, MYSQL_ERROR::enum_warning_level level, thd->spcont= spcont; thd->no_warnings_for_error= no_warnings_for_error; - /* Store error in error list (as my_message() didn't do it in this case */ + /* Store error in error list (as my_message() didn't do it) */ level= MYSQL_ERROR::WARN_LEVEL_ERROR; } |
