use constant instead of arbitrary number
This commit is contained in:
@@ -357,7 +357,7 @@ namespace usql {
|
|||||||
|
|
||||||
OffsetLimitNode Parser::parse_offset_limit_clause() {
|
OffsetLimitNode Parser::parse_offset_limit_clause() {
|
||||||
size_t offset = 0;
|
size_t offset = 0;
|
||||||
size_t limit = 999999999;
|
size_t limit = SIZE_MAX;
|
||||||
|
|
||||||
if (m_lexer.tokenType() == TokenType::keyword_offset) {
|
if (m_lexer.tokenType() == TokenType::keyword_offset) {
|
||||||
m_lexer.skipToken(TokenType::keyword_offset);
|
m_lexer.skipToken(TokenType::keyword_offset);
|
||||||
|
|||||||
Reference in New Issue
Block a user