summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authorunknown <konstantin@oak.local>2003-12-20 02:16:10 +0300
committerunknown <konstantin@oak.local>2003-12-20 02:16:10 +0300
commit32c6b0d72a120dcafb1ae084bbc1c57c5fc5701f (patch)
treec9441e15b696703bb24911352787db69a6784020 /sql/slave.cc
parent8d987f9e532689545becf521aa6a6aa6b23bf330 (diff)
downloadmariadb-git-32c6b0d72a120dcafb1ae084bbc1c57c5fc5701f.tar.gz
Prepared_statement deployed instead of PREP_STMT.
libmysqld/lib_sql.cc: Prepared_statement now resides entirely in sql_prepare.cc Embedded versions of setup_params_data moved to sql_prepare.cc sql/mysql_priv.h: removed declarations for non-existing functions sql/slave.cc: no thd->init_for_queries() any more sql/sql_class.cc: added Statement and Statement_map classes. PREP_STMT replaced with Statement (Prepared_statement) and moved to sql_prepare.cc sql/sql_class.h: added Statement and Statement_map classes. PREP_STMT replaced with Statement (Prepared_statement) and moved to sql_prepare.cc sql/sql_parse.cc: thd->init_for_queries() doesn't exist any more comment moved to proper place sql/sql_prepare.cc: PREP_STMT replaced with Prepared_statement minor code cleanups tests/client_test.c: Later in the test we rely on order of rows, which normally is not defined. My patch changes the order.
Diffstat (limited to 'sql/slave.cc')
-rw-r--r--sql/slave.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc
index 8af38624df6..d2a7d397fa7 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -3111,7 +3111,6 @@ slave_begin:
sql_print_error("Failed during slave thread initialization");
goto err;
}
- thd->init_for_queries();
rli->sql_thd= thd;
thd->temporary_tables = rli->save_temporary_tables; // restore temp tables
pthread_mutex_lock(&LOCK_thread_count);