mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
Fix for bug #9110 (Max_join_size error)
libmysqld/lib_sql.cc: This should be done during the thread activation
This commit is contained in:
parent
b08c3ca426
commit
1911750354
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue