summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpqpp/pq-command.cpp1
-rw-r--r--libpqpp/pq-connection.cpp4
2 files changed, 2 insertions, 3 deletions
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 <algorithm>
#include <compileTimeFormatter.h>
#include <dbTypes.h>
#include <factory.h>
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