diff --git a/include/sqlpp11/insert_value_list.h b/include/sqlpp11/insert_value_list.h index fdf34fe5..d80feea4 100644 --- a/include/sqlpp11/insert_value_list.h +++ b/include/sqlpp11/insert_value_list.h @@ -387,8 +387,8 @@ namespace sqlpp auto _set_impl(Assignments... assignments) -> _new_statement_t> { - static_assert(not ::sqlpp::detail::has_duplicates::value, "at least one duplicate argument detected in set()"); static_assert(sqlpp::detail::all_t::value...>::value, "at least one argument is not an assignment in set()"); + static_assert(not ::sqlpp::detail::has_duplicates::value, "at least one duplicate column detected in set()"); static_assert(sqlpp::detail::none_t::value...>::value, "at least one assignment is prohibited by its column definition in set()"); using _column_required_tables = ::sqlpp::detail::make_joined_set_t...>; diff --git a/include/sqlpp11/update_list.h b/include/sqlpp11/update_list.h index 1ee40173..57252940 100644 --- a/include/sqlpp11/update_list.h +++ b/include/sqlpp11/update_list.h @@ -193,8 +193,8 @@ namespace sqlpp auto _set_impl(Assignments... assignments) -> _new_statement_t> { - static_assert(not ::sqlpp::detail::has_duplicates::value, "at least one duplicate argument detected in set()"); static_assert(::sqlpp::detail::all_t::value...>::value, "at least one argument is not an assignment in set()"); + static_assert(not ::sqlpp::detail::has_duplicates::value, "at least one duplicate column detected in set()"); static_assert(::sqlpp::detail::none_t::value...>::value, "at least one assignment is prohibited by its column definition in set()"); using _column_required_tables = ::sqlpp::detail::make_joined_set_t...>;