diff options
author | unknown <monty@mysql.com> | 2005-04-05 01:19:48 +0300 |
---|---|---|
committer | unknown <monty@mysql.com> | 2005-04-05 01:19:48 +0300 |
commit | f3aa7770b647a9256b3c93f0ef4823b4cb73af55 (patch) | |
tree | 0a8eb6af750f9b55ae42a273743dbe99b94a08bb /sql/sql_error.cc | |
parent | 4ade769345de717d835e3759679be0a01ec4b4c9 (diff) | |
download | mariadb-git-f3aa7770b647a9256b3c93f0ef4823b4cb73af55.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)
sql/item_timefunc.cc:
Removed warning reported by valgrind
sql/sql_error.cc:
Fixed comment
sql/sql_table.cc:
Fixed comment
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; } |