summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-03-12 20:18:16 -0700
committerunknown <sasha@mysql.sashanet.com>2001-03-12 20:18:16 -0700
commit10d5f95eee32be69b6eb8272b05bd4a8cf748719 (patch)
treeeae6ce17036177571f150abef4027475b6aaaedd /sql/sql_parse.cc
parentf87b3ee44deb4221b525a16a376e2e1f77d964d9 (diff)
parentee92b9f634e3ca573ee6c30f87bc8e8714c08827 (diff)
downloadmariadb-git-10d5f95eee32be69b6eb8272b05bd4a8cf748719.tar.gz
Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql Docs/manual.texi: Auto merged sql/sql_parse.cc: Auto merged sql/sql_class.h: Auto merged
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 1884a8825ba..6ddb3b45864 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -512,6 +512,10 @@ pthread_handler_decl(handle_one_connection,arg)
return 0;
}
+ // copy global state map into thread
+ for(int x=0; x < 256; x++)
+ thd->state_map[x] = global_state_map[x];
+
do
{
int error;