summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2009-08-10 15:46:20 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2009-08-10 15:46:20 -0300
commit19b325499e08a7378d01d9eebb2b431821c35dc0 (patch)
tree6585c71f3fae15baed31782015d75e99c441df20 /sql/sql_lex.h
parent527e5fd3a246cc21bdaa3e15952b61bd3e13ebcd (diff)
parentc7163c630a7ab5c9770c9ae07355acc531f110a1 (diff)
downloadmariadb-git-19b325499e08a7378d01d9eebb2b431821c35dc0.tar.gz
Manual merge.
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 22b7d2e359c..76fd5354c51 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -1190,7 +1190,7 @@ public:
Get a character, and advance in the stream.
@return the next character to parse.
*/
- char yyGet()
+ unsigned char yyGet()
{
char c= *m_ptr++;
if (m_echo)
@@ -1202,7 +1202,7 @@ public:
Get the last character accepted.
@return the last character accepted.
*/
- char yyGetLast()
+ unsigned char yyGetLast()
{
return m_ptr[-1];
}
@@ -1210,7 +1210,7 @@ public:
/**
Look at the next character to parse, but do not accept it.
*/
- char yyPeek()
+ unsigned char yyPeek()
{
return m_ptr[0];
}
@@ -1219,7 +1219,7 @@ public:
Look ahead at some character to parse.
@param n offset of the character to look up
*/
- char yyPeekn(int n)
+ unsigned char yyPeekn(int n)
{
return m_ptr[n];
}