add support for LIMIT clause in SQL engine

This commit is contained in:
Brian Bruns
2016-08-30 08:43:34 -04:00
parent 2355aec912
commit 23bab7c2d6
5 changed files with 37 additions and 11 deletions

View File

@@ -45,12 +45,14 @@ null { return NUL; }
(<=) { return LTEQ; }
(>=) { return GTEQ; }
like { return LIKE; }
limit { return LIMIT; }
[ \t\r] ;
\"[^"]*\"\" {
yyless(yyleng-1);
yymore();
}
\"[^"]*\" {
int ip, op, ilen;
ilen = strlen(yytext);