summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2005-06-17 23:27:23 +0400
committerkonstantin@mysql.com <>2005-06-17 23:27:23 +0400
commit362a83d2f2b12961946a193a107a545196eb16f5 (patch)
tree1e1d61b3e93eef6a8df2213653759a84588bee7d /sql/sql_lex.cc
parent637a353d93a549587993c9edad52e7bada67ad88 (diff)
parentb3d977df1071ab18440ae995bbcf974054abe209 (diff)
downloadmariadb-git-362a83d2f2b12961946a193a107a545196eb16f5.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/opt/local/work/mysql-5.0-10736
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r--sql/sql_lex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index 8657b738b28..08f0c3badf7 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -967,7 +967,7 @@ int yylex(void *arg, void *yythd)
{
THD* thd= (THD*)yythd;
if ((thd->client_capabilities & CLIENT_MULTI_STATEMENTS) &&
- (thd->command != COM_PREPARE))
+ (thd->command != COM_STMT_PREPARE))
{
lex->safe_to_cache_query= 0;
lex->found_semicolon=(char*) lex->ptr;