Commit Graph

365 Commits

Author SHA1 Message Date
rbock 6eaafab970 Merge tag '0.16' into develop
Major overhaul of internal structures

The most important change is that there is a generic statement now.
A statement is a variadic template with the clauses as template arguments.
This makes it very easy to add features to statements, e.g. to mimic specific dialects.

Removed namespace vendor.

Removed direct support for char-based results. This was rather vendor specific and
is therefore to be implemented by the connector libraries, if required.

Lots of smaller changes and corrections.
2014-06-30 05:49:12 +02:00
rbock f2c4e9c160 Merge branch 'release/0.16' 0.16 2014-06-30 05:38:15 +02:00
rbock 0fd6167db7 Merge branch 'feature/remove_char_result' into develop
Conflicts:
	include/sqlpp11/result_row.h
2014-06-29 12:59:25 +02:00
rbock abb97b623b Removed remainder of char_result_row interface from fields 2014-06-29 12:52:21 +02:00
rbock 2f20f7ef82 Renamed bind and (in)validate to indicate their usage (vendor only) 2014-06-29 11:35:51 +02:00
rbock 0f9c1dbfb2 Added check to prevent multicolumns in sub selects 2014-06-28 21:05:37 +02:00
rbock 7900cba1ca Fixed most of the compiler warnings about unused variables in test programs 2014-06-28 21:05:16 +02:00
rbock 39413ee1bb Added check to prevent multicolumns in sub selects 2014-06-28 21:02:49 +02:00
rbock f113b83740 Fixed most of the compiler warnings about unused variables in test programs 2014-06-28 20:21:43 +02:00
rbock 778b0d8816 Added -Wall, took care of a bunch of compiler warnings 2014-06-28 14:41:35 +02:00
rbock 08786c7cf9 Added -Wall, took care of a bunch of compiler warnings 2014-06-28 14:39:04 +02:00
rbock c2d00b14ec Removed char_result_row from result_row 2014-06-27 18:40:57 +02:00
rbock 620f9bef29 Fixed dynamic rows for bind_results 2014-06-27 18:11:12 +02:00
rbock f14b6025d3 Fixed dynamic rows for bind_results 2014-06-27 17:45:33 +02:00
rbock ff4d93049c removed char_result_row 2014-06-27 17:41:43 +02:00
rbock bc99c2b240 Added missing file 2014-06-26 22:06:54 +02:00
rbock 1f20d244c7 Added improved check for potential name duplicates in from() 2014-06-26 18:56:07 +02:00
rbock 2266787e94 Fixed another few warnings 2014-06-26 14:35:49 +02:00
rbock e03366202d Fixed a bunch of warnings 2014-06-26 08:39:08 +02:00
rbock 1267aa252f Added _check_consistency call to all statement parts
For instance, enforce where() to be called
2014-06-24 21:53:25 +02:00
rbock 0b27373314 Adjusted code to work with g++-4.8 as well 2014-06-22 23:37:43 +02:00
rbock d90b42f52b Added a minimalistic test for including sqlpp11.h 2014-06-22 16:09:19 +02:00
rbock 35f9dab171 Added missing file 2014-06-22 12:01:17 +02:00
rbock 06d1783d81 Cleaned a bit of messy _run() code. 2014-06-20 18:20:24 +02:00
rbock 1d82cf7f09 Fixed a bunch of bugs that came up when integrating with mySQL again.
Thanks Matthijs!
2014-06-20 16:53:52 +02:00
rbock 04aab4d79b Removed some debug code 2014-06-20 10:43:14 +02:00
rbock 54c95db254 Experiments with some types 2014-06-18 18:22:49 +02:00
rbock 56e34dbf5e Shortened template for pseudo_column 2014-06-18 18:20:59 +02:00
rbock 5f927572cf Took care of a few warnings 2014-06-14 20:25:11 +02:00
rbock 4ce8f2419b All tests compile again for clang-3.2 2014-06-14 17:57:12 +02:00
rbock 3d26f9a686 Re-animated prepared statements 2014-06-14 17:44:22 +02:00
rbock e775e6165e Removed obsolete namespace specifier in test after removing namespace vendor 2014-06-14 10:17:21 +02:00
rbock ca76ccbf65 Minor fix. 2014-06-14 10:15:42 +02:00
rbock d4684f7dc0 Merge branch 'feature/remove_namespace_vendor' into develop 2014-06-14 07:50:38 +02:00
rbock ef6c7e0c0d Removed a few obsolete "typename" 2014-06-14 07:49:43 +02:00
rbock 269f2e7e17 Fixed indentations 2014-06-14 07:45:10 +02:00
rbock 09d220541e removed namespace vendor 2014-06-14 07:43:27 +02:00
rbock 060d59125c Moved files from sqlpp11/vendor to sqlpp11 2014-06-13 18:51:51 +02:00
rbock 07980a72a2 Merge branch 'feature/unified_statement' into develop 2014-06-13 09:38:35 +02:00
rbock 4d1b60d93a Cleanup
Moved check_consistency call to statement
2014-06-13 09:33:08 +02:00
rbock f8e0e90477 Fixed serializability of statements 2014-06-09 14:06:04 +02:00
rbock 79aa358624 Added into member for insert.
Update and remove will get table lists with more than one table
2014-06-05 08:32:22 +02:00
rbock 067740d24e InterpretTest compiles again 2014-06-04 18:35:25 +02:00
rbock d36037472f Migrated update to generic statement 2014-06-04 09:26:10 +02:00
rbock c866f31ea5 Turned remove into a generic statement 2014-06-03 09:12:27 +02:00
rbock 8d16b6ab2d Migrated insert to generic statement 2014-06-02 23:57:21 +02:00
rbock 7e32a0a3ea Cleaned up minor as() method mess plus some oversights 2014-06-02 07:48:05 +02:00
rbock 3fb6c6c246 SelectTest compiles again 2014-06-02 06:40:22 +02:00
rbock b00fe51fed Adjusted remaining select parts 2014-05-30 13:43:59 +02:00
rbock 98bb9a7db7 Added policies into members
What a fight...
2014-05-30 12:48:51 +02:00