Fix compile error in postgresql connector #623

This commit is contained in:
Roland Bock
2025-06-15 09:21:31 +02:00
parent e9411dcd20
commit 4148d84244

View File

@@ -28,9 +28,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <algorithm>
#include <iostream>
#include <sstream>
#include <sqlpp11/compat/make_unique.h>
#include <sqlpp11/connection.h>
@@ -359,7 +357,7 @@ namespace sqlpp
_context_t context{*this};
serialize(x, context);
return execute(context.str());
return static_cast<size_t>(execute(context.str())->result.affected_rows());
}
template <