summaryrefslogtreecommitdiff
path: root/sql/mysqld.cc
diff options
context:
space:
mode:
authorVenkatesh Duggirala <venkatesh.duggirala@oracle.com>2013-01-02 18:32:38 +0530
committerVenkatesh Duggirala <venkatesh.duggirala@oracle.com>2013-01-02 18:32:38 +0530
commitce7e7a99a02000f301470d24087bcc7e813e85ec (patch)
tree57ce0b9be34a77613b322607f3cc26983de6c0cc /sql/mysqld.cc
parentcc2df0069dc185421dc85ce7ab4bdff5e09020a6 (diff)
parent39323920302a039ac7e3a80052fbd68d31e5e75d (diff)
downloadmariadb-git-ce7e7a99a02000f301470d24087bcc7e813e85ec.tar.gz
BUG#11753923-SQL THREAD CRASHES ON DISK FULL
Merging fix from mysql-5.1
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r--sql/mysqld.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 83bd9ed860b..74972463db6 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -4507,6 +4507,7 @@ int mysqld_main(int argc, char **argv)
After this we can't quit by a simple unireg_abort
*/
error_handler_hook= my_message_sql;
+ sql_print_warning_hook = sql_print_warning;
start_signal_handler(); // Creates pidfile
if (mysql_rm_tmp_tables() || acl_init(opt_noacl) ||