From 26e6666d48d0c2e467603f07b60b91f825c55342 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 14 Feb 2022 14:46:52 +0000 Subject: enum class BulkUpdates --- libpqpp/pq-command.cpp | 1 - libpqpp/pq-connection.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'libpqpp') diff --git a/libpqpp/pq-command.cpp b/libpqpp/pq-command.cpp index 8a79364..9e98eb5 100644 --- a/libpqpp/pq-command.cpp +++ b/libpqpp/pq-command.cpp @@ -1,5 +1,4 @@ #include "pq-command.h" -#include #include #include #include diff --git a/libpqpp/pq-connection.cpp b/libpqpp/pq-connection.cpp index a2ebe35..96e09f1 100644 --- a/libpqpp/pq-connection.cpp +++ b/libpqpp/pq-connection.cpp @@ -76,13 +76,13 @@ PQ::Connection::execute(const std::string & sql, const DB::CommandOptionsCPtr &) DB::BulkDeleteStyle PQ::Connection::bulkDeleteStyle() const { - return DB::BulkDeleteUsingSubSelect; + return DB::BulkDeleteStyle::UsingSubSelect; } DB::BulkUpdateStyle PQ::Connection::bulkUpdateStyle() const { - return DB::BulkUpdateUsingFromSrc; + return DB::BulkUpdateStyle::UsingFromSrc; } void -- cgit v1.2.3