From 60e7d6ff37b496ad9d3b69978b6d3eea8f2ccaf9 Mon Sep 17 00:00:00 2001 From: "konstantin@mysql.com" <> Date: Fri, 15 Jul 2005 00:41:58 +0400 Subject: Post-merge fixes. --- sql/sql_lex.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_lex.cc') diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index a4293fa76bd..630a7e950f7 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -562,7 +562,7 @@ int yylex(void *arg, void *yythd) its value in a query for the binlog, the query must stay grammatically correct. */ - else if (c == '?' && ((THD*) yythd)->command == COM_PREPARE && + else if (c == '?' && ((THD*) yythd)->command == COM_STMT_PREPARE && !ident_map[cs, yyPeek()]) return(PARAM_MARKER); return((int) c); -- cgit v1.2.1