Fix for bug #9110 (Max_join_size error)

This commit is contained in:
hf@deer.(none) 2005-07-26 12:08:00 +05:00
parent 5498a13751
commit 9bab1c09a6

View file

@ -506,6 +506,8 @@ void *create_embedded_thd(int client_flag, char *db)
/* 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->command=COM_SLEEP;
thd->version=refresh_version;