Commit 901ce531 authored by Thiru's avatar Thiru

Bug #20144839 AFTER UPDATING TO MYSQL 5.6.22 SERVER

		CRASHES ON EVERY START ATTEMPT

Description:
------------
push_warning_printf function is used to print the warning message
to the client. So this function should not invoke while recovering
the server. Moreover current_thd is NULL while starting the server.

Solution:
---------
 - Avoiding the warning to be printed while recovery.
This patch already pushed in mysql-5.6.
parent e7391e47
......@@ -12102,6 +12102,10 @@ ib_warn_row_too_big(const dict_table_t* table)
THD* thd = current_thd;
if (thd == NULL) {
return;
}
push_warning_printf(
thd, MYSQL_ERROR::WARN_LEVEL_WARN, HA_ERR_TO_BIG_ROW,
"Row size too large (> %lu). Changing some columns to TEXT"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment