Commit Graph

195 Commits

Author SHA1 Message Date
Pedro Flemming 42049b4d56 Benchmarking (#27)
Adds benchmarking capabilities and small grammar fix.
2017-03-06 18:30:35 +01:00
Pedro Flemming 23621fa862 Merge pull request #25 from torpedro/use-microtest
Use microtest
2017-02-14 10:00:49 +01:00
Pedro de56d9a7ea fix error in parser destructor 2017-02-10 21:42:02 +01:00
Pedro 681fbe42d2 refactor tests to use the microtest framework 2017-02-10 21:41:34 +01:00
Pedro Flemming 2890cd368e fix example for recent API changes 2017-02-08 13:51:50 +01:00
Pedro Flemming 2bce9cc154 Merge pull request #24 from torpedro/mem-leaks
Fix memory leaks
2017-02-08 13:28:41 +01:00
Pedro Flemming d576350e1e add auto memory leak check with valgrind to test script 2017-02-08 11:59:24 +01:00
Pedro 1f183147ec fix memory leaks when parsing fails 2017-02-08 04:56:07 +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 Flemming 89a81848b4 Merge pull request #23 from torpedro/statements-clean
Clean-Up and Reformatting of Code
2017-02-08 03:15:15 +01:00
Pedro 4aca7d035f fixed inconsistend member naming. fixed building of error result in parser 2017-02-08 03:07:51 +01:00
Pedro ec46b28f32 improved interface of SQLParserResult 2017-02-08 02:59:07 +01:00
Pedro 5cf62f6b1d add documentation to parser and parsing result 2017-02-08 02:33:42 +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 8582c7f901 remove typedef enums and inline methods. 2017-02-08 02:02:30 +01:00
Pedro 02b7b880ed remove inline functions from Expr 2017-02-08 01:55:59 +01:00
Pedro Flemming 0946624d54 moved implementations from header files to statements.cpp 2017-02-03 16:50:18 +01:00
Pedro Flemming eb262d1bde Update README. trigger travis build and add badge 2016-05-24 15:34:42 +02:00
Pedro Flemming ea333afa15 update readme with clang version 2016-05-24 15:15:01 +02:00
Pedro Flemming 61be0684cf update build after merging #17 2016-05-24 15:09:11 +02:00
Pedro Flemming ffefb7a2e5 Merge pull request #17 from ahalam/master
Use C++ standard int types to allow compilation with clang++ also
2016-05-24 15:06:39 +02:00
Adnan Hasnain Alam bcb5fe5e82 Enable compilation on clang++ also
‘uint’ is only available on Linux. Other than this, there seems to be
no other dependency on the compiler.
2016-04-30 10:26:18 +05:30
Pedro Flemming e73233832f Update README.md 2016-02-27 18:39:16 +01:00
Pedro Flemming 7cfae24503 Merge pull request #12 from torpedro/api-cleanup
Improve API & formatting. Adds clang support & travis ci
2016-02-27 17:49:32 +01:00
Pedro 76aea6ac69 implement clang compatibility 2016-02-27 17:44:42 +01:00
Pedro c8e8abf0b3 cleaned up documentation 2016-02-27 16:58:51 +01:00
Pedro ef7c3cf349 add test for installed library 2016-02-27 16:45:17 +01:00
Pedro ad072dd79d add travis.yml 2016-02-27 16:26:18 +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 Flemming f98843a316 extended example code 2016-01-16 12:36:58 +01:00
Pedro Flemming b2bfe2bb1c build fixes for OSX and clang. added make install task 2016-01-16 12:36:45 +01:00
Pedro 8b59940fa3 include bison and flex generated code in release 2015-12-23 17:02:45 +01:00
Pedro 3719745fb4 add cleanall task 2015-12-23 17:00:41 +01:00
Pedro Flemming d5fad5ea56 Update README.md 2015-12-23 17:00:09 +01:00
Pedro Flemming 2ab7840cf7 Update README.md 2015-12-23 16:57:59 +01:00
Pedro a378ec1faf Merge branch 'dynamic-library' of github.com:torpedro/sql-parser into dynamic-library 2015-12-23 16:47:09 +01:00
Pedro 81d34f823d added example of how to use the library 2015-12-23 16:47:04 +01:00
Pedro Flemming 3cdc0dfb8d Update README.md 2015-12-23 16:39:59 +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
David Schwalb 53ce86f524 Merge pull request #11 from santazhang/fix-leak
fix memory leak in SQLStatementList
2015-11-01 15:00:40 +01:00
Santa Zhang 61a1e65319 fix memory leak in SQLStatementList 2015-10-30 22:25:26 -04:00
Pedro Flemming b1622ce71d Update README.md 2015-08-28 13:50:53 +02:00