Commit Graph

23 Commits

Author SHA1 Message Date
root
1922210f70 1. add scheme name support for tables names
2. add IF EXIST support for DROP TABLE/VIEW
3. fix memory free bug: delete -> free
4. add features in sqlhelper.cpp
2017-09-13 17:37:31 +08:00
Markus Dreseler
68e4d1b207 Make UPDATE use expression, not literal
This allows for things like UPDATE x SET a = a + 1
2017-09-12 19:50:34 +02:00
Tim Zimmermann
2316e07d52 Do not allow deprecated features for flex 2017-09-05 10:25:39 +00:00
Tim Zimmermann
0233f77cef Add support for SHOW TABLES statement 2017-08-23 23:56:16 +02:00
alkim0
88ffe4822b Many updates to grammar including support for arrays, ilike, natural joins with no predicates... (#49)
* Got ISNULL working

* Allow function calls with no arguments

* Added no-else cases and arrays

* Added more operations including ilike, concat

* Added optional all to set operations and fixed natural join

* Ran astyle

* Used the appropriate star expression

Instead of using a ColumnRef with star literal.

* NULL expressions now returns true isLiteral

* Fixed structure for no-else case clauses

* Fixed up grammar conflicts
2017-07-26 19:09:02 +02:00
Tim Zimmermann
6a05b8e94b Add enum types for formerly 'simple' operands (#48)
* Add enum types for formerly 'simple' operands

* Use non-semantic names

* Formatting

* Add generated files
2017-06-29 13:40:24 +02:00
Pedro Flemming
09a96a9c88 Update bison source code 2017-06-06 22:15:19 +02:00
Pedro Flemming
f85a5e7b52 Prepared Statements (#43)
Changed PREPARE syntax to be closer to the standard.
2017-05-29 16:22:13 +02:00
Pedro Flemming
793258f872 Add capability for multi join table references (#40) 2017-04-21 22:03:12 +02:00
Pedro Flemming
0909c6a89a Documentation & Result Move Constructor (#39)
Updates documentation, adds a move constructor to SQLParserResult, fixes compile-time warnings
2017-04-21 16:15:07 +02:00
Pedro Flemming
cfe69a44de update parser sources 2017-04-07 16:26:20 +02:00
Pedro Flemming
1a97db687b update parser and lexer 2017-04-06 18:28:22 +02:00
Pedro
137f273410 update parser build 2017-03-08 20:36:06 +01:00
Pedro
36adab70c5 add 10 tpch style queries and test for them 2017-03-07 02:01:00 +01:00
Pedro
de56d9a7ea fix error in parser destructor 2017-02-10 21:42:02 +01:00
Pedro
1f183147ec fix memory leaks when parsing fails 2017-02-08 04:56:07 +01:00
Pedro
5041dccf70 fix all leaks triggered by sql_grammar_test.cpp 2017-02-08 04:27:04 +01:00
Pedro
4aca7d035f fixed inconsistend member naming. fixed building of error result in parser 2017-02-08 03:07:51 +01:00
Pedro Flemming
61be0684cf update build after merging #17 2016-05-24 15:09:11 +02:00
Pedro
4632abf92d change var names to camelCase 2016-02-27 15:22:22 +01:00
Pedro
57b8cdd31b adjust names of members 2016-02-27 14:45:59 +01:00
Pedro
3df367e668 renamed SQLStatementList to SQLParserResult and moved into separate file 2016-02-27 14:24:23 +01:00
Pedro
8b59940fa3 include bison and flex generated code in release 2015-12-23 17:02:45 +01:00