mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Merge pull request #2865 from yanhuqing666/patch-1
Fix Parser for Bit-Value Literals
This commit is contained in:
@@ -289,7 +289,7 @@ public class MySqlLexer extends Lexer {
|
||||
|
||||
final char first = ch;
|
||||
|
||||
if (ch == 'b'
|
||||
if ((ch == 'b' || ch == 'B' )
|
||||
&& charAt(pos + 1) == '\'') {
|
||||
int i = 2;
|
||||
int mark = pos + 2;
|
||||
|
||||
Reference in New Issue
Block a user