From 31b43445d96e0eabda9b582405db7ac30c387e1a Mon Sep 17 00:00:00 2001 From: Nikolay Date: Thu, 19 Dec 2024 10:28:18 +0700 Subject: [PATCH] [-] mysql connectors in dynamic-query-constructors are fixed --- include/sqlpp11/mysql/remove.h | 4 ++-- include/sqlpp11/mysql/update.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/sqlpp11/mysql/remove.h b/include/sqlpp11/mysql/remove.h index 9943fe014..bc65ccbb7 100644 --- a/include/sqlpp11/mysql/remove.h +++ b/include/sqlpp11/mysql/remove.h @@ -52,7 +52,7 @@ namespace sqlpp template auto dynamic_remove(const Database& /*unused*/) -> decltype(blank_remove_t()) { - static_assert(std::is_base_of::value, "Invalid database parameter"); + static_assert(std::is_base_of::value, "Invalid database parameter"); return {blank_remove_t()}; } @@ -60,7 +60,7 @@ namespace sqlpp auto dynamic_remove_from(const Database& /*unused*/, Table table) -> decltype(blank_remove_t().from(table)) { - static_assert(std::is_base_of::value, "Invalid database parameter"); + static_assert(std::is_base_of::value, "Invalid database parameter"); return {blank_remove_t().from(table)}; } } // namespace mysql diff --git a/include/sqlpp11/mysql/update.h b/include/sqlpp11/mysql/update.h index 4ff65484b..1ffe62e6c 100644 --- a/include/sqlpp11/mysql/update.h +++ b/include/sqlpp11/mysql/update.h @@ -53,7 +53,7 @@ namespace sqlpp constexpr auto dynamic_update(const Database& /*unused*/, Table table) -> decltype(blank_update_t().single_table(table)) { - static_assert(std::is_base_of::value, "Invalid database parameter"); + static_assert(std::is_base_of::value, "Invalid database parameter"); return {blank_update_t().single_table(table)}; } } // namespace mysql