mirror of
https://github.com/rbock/sqlpp11.git
synced 2025-12-31 02:00:24 -06:00
Fix compile error in postgresql connector #623
This commit is contained in:
@@ -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 <
|
||||
|
||||
Reference in New Issue
Block a user