Merge pull request #567 from yakolee/master

bugfix&update version to 1.0.7
This commit is contained in:
Yako
2014-06-17 17:05:31 +08:00
5 changed files with 27 additions and 3 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ public final class VERSION {
public final static int MajorVersion = 1;
public final static int MinorVersion = 0;
public final static int RevisionVersion = 6;
public final static int RevisionVersion = 7;
public static String getVersionNumber() {
return VERSION.MajorVersion + "." + VERSION.MinorVersion + "." + VERSION.RevisionVersion;
@@ -550,6 +550,10 @@ public class MySqlCreateTableParser extends SQLCreateTableParser {
if (lexer.token() == (Token.ON)) {
throw new ParserException("TODO");
}
if (lexer.token() == (Token.AS)) {
lexer.nextToken();
}
if (lexer.token() == (Token.SELECT)) {
SQLSelect query = new MySqlSelectParser(this.exprParser).select();