Commit Graph

95 Commits

Author SHA1 Message Date
Pedro Flemming eddd799c26 rename operators to match constant naming style. Move the enum out of Expr 2017-04-06 17:25:47 +02:00
Pedro 589a251ed7 add copy header files to install rule 2017-04-04 02:58:16 +02:00
Pedro 3e52bf1a66 Add test for grammar conflicts. Print summary at the end of tests 2017-03-08 19:28:25 +01:00
Pedro 39d0dbd9af Implement CREATE VIEW and DROP VIEW 2017-03-08 17:42:33 +01:00
Pedro 9a5a352a0b add explicit test to TPC-H query properties 2017-03-08 16:55:29 +01:00
Pedro 052f20ed1d add additonal TPC-H queries for testing 2017-03-07 15:30:54 +01:00
Pedro bf255c65ac fix memory leaks 2017-03-07 15:09:39 +01:00
Pedro b7828e698e implement CASE WHEN expressions 2017-03-07 14:55:51 +01:00
Pedro 5605dbab7e implement EXISTS conditional 2017-03-07 14:37:19 +01:00
Pedro cf1c84d46d Add select statement as possible operand in expressions 2017-03-07 14:22:52 +01:00
Pedro 35b8b569eb Implement BETWEEN operator 2017-03-07 13:49:56 +01:00
Pedro 9ecfa8e8f6 Allow function expressions to have variable length of parameters 2017-03-07 02:51:04 +01:00
Pedro f82504b319 Allow order by to define a list of expressions to order by 2017-03-07 02:30:44 +01:00
Pedro 36adab70c5 add 10 tpch style queries and test for them 2017-03-07 02:01:00 +01:00
Pedro Flemming 42049b4d56 Benchmarking (#27)
Adds benchmarking capabilities and small grammar fix.
2017-03-06 18:30:35 +01:00
Pedro 681fbe42d2 refactor tests to use the microtest framework 2017-02-10 21:41:34 +01:00
Pedro Flemming d576350e1e add auto memory leak check with valgrind to test script 2017-02-08 11:59:24 +01:00
Pedro 043e34b70c implement test for failing grammar in sql_grammar_test.cpp 2017-02-08 04:55:45 +01:00
Pedro 5041dccf70 fix all leaks triggered by sql_grammar_test.cpp 2017-02-08 04:27:04 +01:00
Pedro 69e9673763 fixed leaks triggered by sql_tests.cpp 2017-02-08 04:10:26 +01:00
Pedro a362e86da1 resolved memory leaks triggered in select tests 2017-02-08 03:54:38 +01:00
Pedro ec46b28f32 improved interface of SQLParserResult 2017-02-08 02:59:07 +01:00
Pedro 28214e8043 change indent to spaces=2 and indent access modifiers. minor style changes 2017-02-08 02:16:52 +01:00
Pedro ef7c3cf349 add test for installed library 2016-02-27 16:45:17 +01:00
Pedro 5267d070e8 return bad exit code when a test fails 2016-02-27 15:48:20 +01:00
Pedro 4632abf92d change var names to camelCase 2016-02-27 15:22:22 +01:00
Pedro 7d1c56d0aa add astyle formatting 2016-02-27 15:01:06 +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 8f26c45c01 build tests with library 2015-12-23 16:14:39 +01:00
Pedro 5046c6477f restructured source code and build dynamic library 2015-12-23 16:01:08 +01:00
Pedro b5aba646d8 support for execute without parameter list added 2015-01-06 19:20:52 +01:00
Pedro 3c98fe1bae added having 2014-12-18 12:11:26 +01:00
Pedro 21503300ca added parsing of prepare and execute statement 2014-12-15 16:43:32 +01:00
Pedro 6f1a2821b2 added grammar rules for prepare and execute 2014-12-15 15:01:01 +01:00
Pedro 98c84abcba added location tracking to parser 2014-12-15 14:43:42 +01:00
Pedro 4e9eebb2af implemented drop statements 2014-12-03 16:53:49 +01:00
Pedro 03fe3a69e2 added update statement support 2014-12-02 01:27:02 +01:00
Pedro 5997d9b4a1 extended create and added delete/truncate statement 2014-11-26 14:43:22 +01:00
Pedro b86bf6e7f9 implemented insert statement 2014-11-26 00:26:20 +01:00
Pedro 7ab73f7b2b removed join algo 2014-11-18 16:38:31 +01:00
Pedro 070ea2de28 added join types and algorithms 2014-11-17 22:13:11 +01:00
Pedro 541a666e32 added if not exists option to create table stmt 2014-11-17 02:18:31 +01:00
Pedro dfbc50ed27 Implemented UNION and OFFSET 2014-11-13 01:27:47 +01:00
Pedro 71cbe1bfac refactored test suite. added alias to expressions 2014-11-12 10:43:10 +01:00