0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 04:47:18 +08:00
Commit Graph

630 Commits

Author SHA1 Message Date
rbock
1f841d2b2b Pacify g++-5.0 (which detected ambiguities) 2015-03-22 12:27:52 +01:00
rbock
cdf86695d1 Fixed a bunch of shadowing warnings issued by g++
A bit over the top in some places, I think
2015-03-21 11:41:07 +01:00
rbock
465a8e700c Fixed serialize check for tvin expressions 2015-03-13 21:47:41 +01:00
rbock
3b23615dae Merge tag '0.31' into develop
Fixed return types for custom queries
2015-03-08 21:08:39 +01:00
rbock
3799248b4a Merge branch 'release/0.31' 2015-03-08 21:08:21 +01:00
rbock
3ca69bf8b8 Updated return types for executing custom queries 2015-03-08 21:06:30 +01:00
rbock
4981b1962c Merge tag '0.30' into develop
Misc:
  - Massive reduction of template error code
	- Increased warning level

Functionality
  - Added custom query
  - Added preprocessor generator for columns/tables (niXman)
  - Added UNION
  - Added WITH

Compatibility:
  - clang-3.1 crashes
	- clang-3.3+ is fine
2015-03-08 20:36:57 +01:00
rbock
67b86a7554 Merge branch 'release/0.30'
Conflicts:
	CMakeLists.txt
	examples/CMakeLists.txt
	examples/select.cpp
	include/sqlpp11/interpret_tuple.h
	include/sqlpp11/type_traits.h
2015-03-08 20:28:48 +01:00
rbock
21621f81c8 Added -Wshadow and un-inlined namespace alias
Not sure if inlining alias was a good idea to begin with...
2015-03-08 20:19:01 +01:00
rbock
47150e1fdb Added missing inline to free function 2015-03-08 20:17:10 +01:00
rbock
30834ab9db Fixed value_list for sets 2015-03-08 20:15:16 +01:00
rbock
d2975b39fb Allow sqlpp be compiled as sub project 2015-03-08 18:36:42 +01:00
rbock
6591d38bab Added table() method for columns. 2015-03-07 09:40:06 +01:00
rbock
028af83fe7 Fixed UNION DISTINCT to not serialize DISTINCT
sqlite3 does not support the keyword in UNION, and for others DISTINCT is the default
anywy
2015-03-05 18:01:59 +01:00
rbock
0c429928cd Fixed ctest config 2015-03-05 18:01:27 +01:00
rbock
3b2f666b53 Fixed serialization of recursive common table expressions 2015-03-04 07:43:15 +01:00
rbock
f1dc56a822 Merge branch 'feature/recursive_traits' into develop 2015-02-24 09:04:10 +01:00
rbock
8910220b6c Minor cleanup 2015-02-24 08:09:17 +01:00
rbock
57ceefbd0c Added missing checks for aggregate functions 2015-02-24 08:02:14 +01:00
rbock
c9401d4b00 Cleaned up requirements for sub-selects as tables 2015-02-17 22:14:05 +01:00
rbock
cc829a8704 Replaced parameter tuple with paramter type vector 2015-02-17 21:39:54 +01:00
rbock
1e9910b12f Replaced node tuple by node type vector 2015-02-17 08:03:19 +01:00
rbock
436ef67072 Replaced recursive traits with local traits which are evaluated recursively
Ok, that sounds weird...

Earlier, each node in the SQL tree had a struct containing all recursive
traits. This is now gone. It only contains a reference to all sub nodes
and its own specific traits.
2015-02-17 07:05:41 +01:00
rbock
97de6fad7f Adjusted license dates 2015-02-15 19:00:21 +01:00
rbock
437607813c Table aliases must not use braces for tables but for sub selects 2015-02-15 16:54:03 +01:00
rbock
9e1ecaf15a Fixed weird compiler crash with gcc-4.8.2
I have no idea why this is helping, but it does.

I need to invest some time to simplify the templates so that compilers
aren't as stressed with it.
2015-02-15 16:41:08 +01:00
rbock
80bc0fcf5e Merge branch 'feature/with_cte' into develop 2015-02-15 16:07:15 +01:00
rbock
da0d47a805 Fixed conditions for using sub select as alias 2015-02-15 16:06:14 +01:00
rbock
a09c79b234 Removed a few stray semicolons 2015-02-15 13:10:39 +01:00
rbock
2c463b2b51 Added missing includes 2015-02-13 16:26:45 +01:00
rbock
18b36bf46a recursive ctes seem to be basically working 2015-02-12 18:05:19 +01:00
rbock
73097e989f Mapping ctes to cte_references when used in from, helping with serialization 2015-02-11 19:06:16 +01:00
rbock
a5c8b40b07 Adjust WITH clause to serialize RECURSIVE where required 2015-02-09 18:44:25 +01:00
rbock
f50500ba8b Fixed a few superflous semicolons 2015-02-09 18:39:03 +01:00
rbock
7e36281e5d Fixed a few stray semicolons 2015-02-09 07:36:53 +01:00
rbock
c4d77372cf The first recursive cte compiles 2015-02-08 19:47:33 +01:00
rbock
ee3d803c33 Added a few cte checks, fixed logic of requiring and providing ctes 2015-02-08 18:26:36 +01:00
rbock
b60df812e1 Split union data from union, to be used in ctes, as well 2015-02-08 18:26:00 +01:00
TyRoXx
3cef1a1217 enable -Wpedantic and fix all the warnings
Conflicts:
	examples/select.cpp
	include/sqlpp11/interpret_tuple.h
	include/sqlpp11/type_traits.h
2015-02-07 15:07:33 +01:00
TyRoXx
25883fc8ea enable -Wconversion and fix a warning 2015-02-07 14:50:47 +01:00
rbock
aa9c8dcfce A few FIXME's regarding remaining stuff for with clauses and ctes 2015-02-07 14:42:29 +01:00
Roland Bock
ea57c55b0d Merge pull request #27 from TyRoXx/wpedantic
enabled -Wpedantic and fixed all the warnings
2015-02-07 14:41:43 +01:00
rbock
d0f4c7dad5 Fixed paths to test executables for ctest 2015-02-07 13:31:45 +01:00
TyRoXx
a480ce6259 enable -Wpedantic and fix all the warnings 2015-02-04 21:43:10 +01:00
TyRoXx
a88a146b5d enable -Wconversion and fix a warning 2015-02-04 21:34:46 +01:00
rbock
36a6837077 travis: installing boost-1.50 headers "manually" 2015-01-31 17:15:14 +01:00
rbock
8bdb3e953d boost-1.50 is required, trying to figure out which versions are available at travis
Might have to install headers manually
2015-01-31 16:47:59 +01:00
rbock
ef21539062 Adjusted CMakeLists to accept boost-1.46.
That's what travis is currently using.
2015-01-31 16:27:47 +01:00
Roland Bock
aaeacfb2b0 Merge pull request #26 from niXman/develop
BOOST_PP_TUPLE_POP_FRONT() added & files reorganized
2015-01-31 16:21:45 +01:00
rbock
d6acf0cfb4 Still trying to install boost headers 2015-01-31 16:17:01 +01:00