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
rbock
42757b4479
Adding boost to travis box
2015-01-31 16:06:01 +01:00
niXman
b8ca8c4671
revert travis.ci changes
2015-01-31 16:51:36 +02:00
niXman
e88e7a2050
travis.ci configuration testing...
2015-01-31 16:47:40 +02:00
niXman
76032093e1
travis.ci configuration testing...
2015-01-31 16:44:47 +02:00
niXman
ed5c123c97
travis.ci configuration testing...
2015-01-31 16:40:40 +02:00
niXman
df0429058c
boost.preprocessor hack & some cosmetic fixes
2015-01-31 16:05:53 +02:00
niXman
504bf961a6
fix for previous commit
2015-01-31 01:36:39 +02:00
niXman
2b7d1ad54a
BOOST_PP_TUPLE_POP_FRONT() added & files reorganized
2015-01-31 01:26:18 +02:00
rbock
59c5bc8970
Wrapped code generator example with a check for boost-1.56+
2015-01-29 23:32:03 +01:00
Roland Bock
bebe52f1c5
Merge pull request #25 from niXman/develop
...
The first working implementation
2015-01-29 23:20:12 +01:00
rbock
2adf529445
First with-query compiles
2015-01-29 19:17:24 +01:00
niXman
256060c2d7
The first working implementation
2015-01-28 22:54:57 +02:00
rbock
da9ca73788
First test constructing a cte
2015-01-27 18:28:36 +01:00
rbock
abfde5c9a7
Turned alias into an inline namespace which helps with ADL in cte
2015-01-27 18:27:33 +01:00
rbock
d9bd5f1b5c
Adjusted .clang-format
2015-01-27 08:31:42 +01:00
rbock
12a0d9d698
cte.h compiles
2015-01-27 08:29:10 +01:00
rbock
4112448b5b
Some ideas
2015-01-19 09:17:21 +01:00
rbock
08de44e8a8
Union works with static results only
2015-01-19 09:16:41 +01:00
rbock
1fb83ed9fa
Consistency < Prepare < Run
...
Consistency: No missing table
Prepare: No missing cte
Run: No parameter
2015-01-19 07:26:04 +01:00
rbock
61b0bd9ff8
Can chain unions
...
And a few more checks
2015-01-15 19:43:56 +01:00
rbock
92e670118a
Started to add common table expressions and 'with'
2015-01-13 21:53:29 +01:00
rbock
8488dae0a7
Added a few compile-time checks for unions
2015-01-11 17:10:36 +01:00
rbock
c4ee228f12
Make MockDb a bit more talkative for tests
2015-01-11 16:12:39 +01:00
rbock
b4f62a5eb6
Union can be used as pseudo-table, allowing to union unions
2015-01-11 14:02:15 +01:00
rbock
a6932070c3
Added a first version of the union function.
2015-01-10 18:30:29 +01:00
rbock
acba273230
Fixed a problem with sub selects in binary operators
...
There were missing braces for sub selects in expressions like
tab.id == select(max(tab.id)).from(tab).where(true)
2014-12-03 17:21:12 +01:00
rbock
f97dc68428
Fixed missing std::
2014-11-30 20:19:38 +01:00
rbock
74cafe35dd
We now have unique name representations per name
...
Before this, there could be multiple classes representing multiple id
columns. Now there is one class representing ALL the name "id". Very
important for analyzing potential name clashes.
2014-11-30 19:40:34 +01:00
rbock
d34c22ca5a
Simplified serializer a bit
2014-11-29 17:36:09 +01:00
rbock
f02a9ce3d0
Moved logic functions from detail into logic namespace
2014-11-29 14:29:54 +01:00
rbock
9110f6653a
Reduced error messages for several clauses
2014-11-29 14:02:24 +01:00
rbock
213080f58b
Fixed prepare in MockDb
2014-11-29 12:32:21 +01:00
rbock
f62891d25f
Merged _member and _methods in clauses to _base
...
This makes statement_t look much nicer and use less inheritance
2014-11-29 11:10:01 +01:00
rbock
375c277402
Fixed bug in select_columns
2014-11-29 09:45:40 +01:00
rbock
7f97f2bbe7
Reduced error messages for 'using' and update list
2014-11-29 09:18:20 +01:00
rbock
f83d77ddb5
Reduced error messages for select_flags
2014-11-28 11:20:27 +01:00
rbock
94be562167
Reduced error messages for select columns.
...
Due to the some args being selectables and others being tuples of
selectables, this is a bit more complex than the other clauses.
2014-11-28 10:11:01 +01:00
rbock
8d6816be8b
Fixed order_by type check
2014-11-28 10:10:34 +01:00
rbock
bf2744d5f7
Reduced error messages for order_by
2014-11-27 23:18:23 +01:00