Fixed a bunch of bugs that came up when integrating with mySQL again.

Thanks Matthijs!
This commit is contained in:
rbock
2014-06-20 16:53:52 +02:00
parent 04aab4d79b
commit 1d82cf7f09
13 changed files with 16 additions and 12 deletions

View File

@@ -90,6 +90,7 @@ int main()
{
auto s = select(all_of(t)).from(t).where(t.beta.like(parameter(t.beta)) and t.alpha == parameter(t.alpha) or t.gamma != parameter(t.gamma));
auto p = db.prepare(s);
p.params.alpha = 7;
using S = decltype(s);
using T = sqlpp::make_parameter_list_t<S>;
T npl;