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