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
commit8f9d59388294a502ddb089d953f72eb397bb518d (patch)
tree57ce0b9be34a77613b322607f3cc26983de6c0cc /sql/mysqld.cc
parent7a846307655842090a30e47e118346485b7d5839 (diff)
parentc72f687f21d6fb4750f3d05221be8b039ee11fdf (diff)
downloadmariadb-git-8f9d59388294a502ddb089d953f72eb397bb518d.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) ||