summaryrefslogtreecommitdiff
path: root/sql/sql_error.cc
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2005-04-05 01:19:48 +0300
committerunknown <monty@mysql.com>2005-04-05 01:19:48 +0300
commitf3aa7770b647a9256b3c93f0ef4823b4cb73af55 (patch)
tree0a8eb6af750f9b55ae42a273743dbe99b94a08bb /sql/sql_error.cc
parent4ade769345de717d835e3759679be0a01ec4b4c9 (diff)
downloadmariadb-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.cc2
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;
}