summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authorunknown <guilhem@mysql.com>2003-08-25 16:33:20 +0200
committerunknown <guilhem@mysql.com>2003-08-25 16:33:20 +0200
commit2dacea35269cbc8a00d2d4ffa9db132b9e7ff8ed (patch)
tree77b44b66324a5fb82e94baa9ef4b2798ce48a989 /sql/slave.cc
parente5b3d521f57d020139af268d157d941a7e5ec310 (diff)
parent3fdc38d4bba14827ef13f70235622450e6e10418 (diff)
downloadmariadb-git-2dacea35269cbc8a00d2d4ffa9db132b9e7ff8ed.tar.gz
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/mysql_src/mysql-4.0
Diffstat (limited to 'sql/slave.cc')
-rw-r--r--sql/slave.cc13
1 files changed, 6 insertions, 7 deletions
diff --git a/sql/slave.cc b/sql/slave.cc
index 07c9bb7bd8a..1bc8dfc5b78 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -1991,13 +1991,12 @@ static int init_slave_thread(THD* thd, SLAVE_THD_TYPE thd_type)
thd->priv_user = 0;
thd->slave_thread = 1;
thd->options = ((opt_log_slave_updates) ? OPTION_BIN_LOG:0) |
- OPTION_AUTO_IS_NULL |
- /*
- It's nonsense to constraint the slave threads with max_join_size; if a
- query succeeded on master, we HAVE to execute it.
- */
- OPTION_BIG_SELECTS ;
-
+ OPTION_AUTO_IS_NULL;
+ /*
+ It's nonsense to constraint the slave threads with max_join_size; if a
+ query succeeded on master, we HAVE to execute it.
+ */
+ thd->variables.max_join_size= HA_POS_ERROR;
thd->client_capabilities = CLIENT_LOCAL_FILES;
thd->real_id=pthread_self();
pthread_mutex_lock(&LOCK_thread_count);