summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2005-07-27 12:56:23 +0500
committerunknown <hf@deer.(none)>2005-07-27 12:56:23 +0500
commit663ad3432639410fa5784cfbf5ea968436eeabd5 (patch)
treea770459346012a6cdeaca3553e0059a1fb83fd59 /libmysqld
parent9d5e533be7c3352cdf16c3f0413a8d297d8aba7b (diff)
parent92ded49855525dd82d0fcf77eb4d53f6f01d64c3 (diff)
downloadmariadb-git-663ad3432639410fa5784cfbf5ea968436eeabd5.tar.gz
Merge deer.(none):/home/hf/work/mysql-4.1.9110
into deer.(none):/home/hf/work/mysql-5.0.clean libmysqld/lib_sql.cc: Auto merged
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/lib_sql.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index c3b239ac7b9..a86d467299c 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -502,6 +502,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;