From 45ff16600fced04792b04a4a7596204b791ea879 Mon Sep 17 00:00:00 2001 From: rbock Date: Tue, 27 May 2014 09:16:29 +0200 Subject: [PATCH] Fixed test --- tests/CMakeLists.txt | 4 ++-- tests/SelectTypeTest.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 280fe484..ad2d430a 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -9,9 +9,9 @@ endmacro () #build_and_run(InterpretTest) #build_and_run(InsertTest) #build_and_run(RemoveTest) -build_and_run(UpdateTest) +#build_and_run(UpdateTest) #build_and_run(SelectTest) -#build_and_run(SelectTypeTest) +build_and_run(SelectTypeTest) #build_and_run(FunctionTest) #build_and_run(PreparedTest) diff --git a/tests/SelectTypeTest.cpp b/tests/SelectTypeTest.cpp index 8e1784de..39aa6b52 100644 --- a/tests/SelectTypeTest.cpp +++ b/tests/SelectTypeTest.cpp @@ -312,7 +312,7 @@ int main() { auto s = dynamic_select(db, all_of(t)).dynamic_from().dynamic_where().dynamic_limit().dynamic_offset(); s.add_from(t); - s.add_where(t.alpha > 7 and t.alpha == any(select(t.alpha).from(t).where(t.alpha < 3))); + s.add_where_ntc(t.alpha > 7 and t.alpha == any(select(t.alpha).from(t).where(t.alpha < 3))); s.set_limit(30); s.set_limit(3); std::cerr << "------------------------\n";