diff options
author | serg@serg.mylan <> | 2005-01-16 13:16:23 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2005-01-16 13:16:23 +0100 |
commit | 1034677f94f26ef8660d0ee41b774ac74084b82f (patch) | |
tree | 58ca68b7179b2df96e7b2f14a1da686cc9d2b959 /sql/sql_lex.cc | |
parent | 184cbf6d37b3a57468206f68b493de48f8cfb64a (diff) | |
download | mariadb-git-1034677f94f26ef8660d0ee41b774ac74084b82f.tar.gz |
XA (not completely polished out yet)
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r-- | sql/sql_lex.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 2205ec504e9..46033fab89c 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -148,7 +148,7 @@ void lex_start(THD *thd, uchar *buf,uint length) lex->view_prepare_mode= FALSE; lex->derived_tables= 0; lex->lock_option= TL_READ; - lex->found_colon= 0; + lex->found_semicolon= 0; lex->safe_to_cache_query= 1; lex->time_zone_tables_used= 0; lex->leaf_tables_insert= lex->proc_table= lex->query_tables= 0; @@ -951,7 +951,7 @@ int yylex(void *arg, void *yythd) if ((thd->client_capabilities & CLIENT_MULTI_STATEMENTS) && (thd->command != COM_PREPARE)) { - lex->found_colon=(char*)lex->ptr; + lex->found_semicolon=(char*)lex->ptr; thd->server_status |= SERVER_MORE_RESULTS_EXISTS; lex->next_state=MY_LEX_END; return(END_OF_INPUT); |