summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-07-28 17:09:54 +0300
committermonty@mysql.com <>2005-07-28 17:09:54 +0300
commit15d48525afc66df10f8f4e68c0a33a4e3ef2ae8c (patch)
treeefa95d21efbbc033b0cabce038118a09be44e9ac /sql/sql_lex.cc
parentb3cbd0048fe5fe36fe4fba9ce591b0d1b26e10a1 (diff)
parent3c12d0ae54eccaef7c265af4f782d95250308dc9 (diff)
downloadmariadb-git-15d48525afc66df10f8f4e68c0a33a4e3ef2ae8c.tar.gz
Merge mysql.com:/home/my/mysql-4.1
into mysql.com:/home/my/mysql-5.0
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 630a7e950f7..ccc0236997f 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -563,7 +563,7 @@ int yylex(void *arg, void *yythd)
grammatically correct.
*/
else if (c == '?' && ((THD*) yythd)->command == COM_STMT_PREPARE &&
- !ident_map[cs, yyPeek()])
+ !ident_map[yyPeek()])
return(PARAM_MARKER);
return((int) c);