From 1fb83ed9fa62dfae6d5c87145444eb008758ed36 Mon Sep 17 00:00:00 2001 From: rbock Date: Mon, 19 Jan 2015 07:26:04 +0100 Subject: [PATCH] Consistency < Prepare < Run Consistency: No missing table Prepare: No missing cte Run: No parameter --- include/sqlpp11/statement.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/sqlpp11/statement.h b/include/sqlpp11/statement.h index 3b4f5b56..8fe803d7 100644 --- a/include/sqlpp11/statement.h +++ b/include/sqlpp11/statement.h @@ -188,12 +188,13 @@ namespace sqlpp using _consistency_check = detail::get_first_if::_consistency_check..., - typename _policies_t::_table_check, - typename _policies_t::_cte_check>; + typename _policies_t::_table_check>; + using _prepare_check = detail::get_first_if; using _run_check = detail::get_first_if; - using _prepare_check = _consistency_check; + _prepare_check>; using _result_type_provider = typename _policies_t::_result_type_provider; template