Commit 9bab1c09 authored by hf@deer.(none)'s avatar hf@deer.(none)

Fix for bug #9110 (Max_join_size error)

parent 5498a137
...@@ -506,6 +506,8 @@ void *create_embedded_thd(int client_flag, char *db) ...@@ -506,6 +506,8 @@ void *create_embedded_thd(int client_flag, char *db)
/* TODO - add init_connect command execution */ /* TODO - add init_connect command execution */
if (thd->variables.max_join_size == HA_POS_ERROR)
thd->options |= OPTION_BIG_SELECTS;
thd->proc_info=0; // Remove 'login' thd->proc_info=0; // Remove 'login'
thd->command=COM_SLEEP; thd->command=COM_SLEEP;
thd->version=refresh_version; thd->version=refresh_version;
......
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