fix minRows parse, fix #4147

This commit is contained in:
高铁
2021-01-27 13:36:29 +08:00
parent fb331e7127
commit 13458aeed8
@@ -1638,7 +1638,7 @@ public class MySqlExprParser extends SQLExprParser {
lexer.nextToken();
}
SQLExpr minRows = this.primary();
subPartition.setMaxRows(minRows);
subPartition.setMinRows(minRows);
} else if (lexer.identifierEquals(FnvHash.Constants.ENGINE) || //
(storage = (lexer.token() == Token.STORAGE || lexer.identifierEquals(FnvHash.Constants.STORAGE)))) {
if (storage) {