summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2005-07-15 00:41:58 +0400
committerunknown <konstantin@mysql.com>2005-07-15 00:41:58 +0400
commitef09588661c499f53cfd67b898c987e94615d5c9 (patch)
tree6270b71249876dce484df66a3dc0c69147bf2b3f /sql/sql_lex.cc
parentb0641a3bdd518439a2bf8d5f66dda663942e40b6 (diff)
downloadmariadb-git-ef09588661c499f53cfd67b898c987e94615d5c9.tar.gz
Post-merge fixes.
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 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);