summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authorserg@serg.mylan <>2005-02-17 14:00:44 +0100
committerserg@serg.mylan <>2005-02-17 14:00:44 +0100
commit530eecbd99c7157917ca95b80e002e32d1d6e50e (patch)
tree2286825455d6ff56f96a8bcd52bbb6737ebcd354 /sql/sql_lex.cc
parentf795c787cd66e3c94f6d3461a93658359c6a7ac4 (diff)
parent2b41b8fa0187c80c135e346a262b0472cd295889 (diff)
downloadmariadb-git-530eecbd99c7157917ca95b80e002e32d1d6e50e.tar.gz
Merge serg.mylan:/usr/home/serg/Abk/mysql-5.0
into serg.mylan:/usr/home/serg/Abk/mysql-5.0-xa
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r--sql/sql_lex.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index 08cf4402b74..a1f0413127d 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -141,7 +141,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;
@@ -949,7 +949,7 @@ int yylex(void *arg, void *yythd)
(thd->command != COM_PREPARE))
{
lex->safe_to_cache_query= 0;
- 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);