diff options
author | hf@deer.(none) <> | 2005-07-26 12:08:00 +0500 |
---|---|---|
committer | hf@deer.(none) <> | 2005-07-26 12:08:00 +0500 |
commit | 9bab1c09a6435ce3b301abba3fad462a21103af6 (patch) | |
tree | 32a5f07cecbe24176d367d0213e0b31a1f9dcc7c /libmysqld | |
parent | 5498a13751c9954a70d048b02065138e9db863c4 (diff) | |
download | mariadb-git-9bab1c09a6435ce3b301abba3fad462a21103af6.tar.gz |
Fix for bug #9110 (Max_join_size error)
Diffstat (limited to 'libmysqld')
-rw-r--r-- | libmysqld/lib_sql.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index 15fe3a03390..82e1c19d758 100644 --- a/libmysqld/lib_sql.cc +++ b/libmysqld/lib_sql.cc @@ -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; |