mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for mysql parser. for issue #2388
This commit is contained in:
@@ -1102,6 +1102,12 @@ public class Lexer {
|
||||
case '\\':
|
||||
putChar('\\');
|
||||
break;
|
||||
case '_':
|
||||
if(JdbcConstants.MYSQL.equals(dbType)) {
|
||||
putChar('\\');
|
||||
}
|
||||
putChar('_');
|
||||
break;
|
||||
case 'Z':
|
||||
putChar((char) 0x1A); // ctrl + Z
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user