提交 f93ea7e2 authored 作者: Thomas Mueller's avatar Thomas Mueller

Identifiers with a digit and then a dollar sign didn't work.

上级 06b6fe93
...@@ -2872,7 +2872,7 @@ public class Parser { ...@@ -2872,7 +2872,7 @@ public class Parser {
command[i + 1] = ' '; command[i + 1] = ' ';
i++; i++;
} else { } else {
if (lastType == CHAR_NAME) { if (lastType == CHAR_NAME || lastType == CHAR_VALUE) {
// $ inside an identifier is supported // $ inside an identifier is supported
type = CHAR_NAME; type = CHAR_NAME;
} else { } else {
...@@ -2972,7 +2972,7 @@ public class Parser { ...@@ -2972,7 +2972,7 @@ public class Parser {
} }
} }
} }
types[i] = (byte) type; types[i] = type;
lastType = type; lastType = type;
} }
sqlCommandChars = command; sqlCommandChars = command;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论