summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 01:59:25 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 06:00:07 +0000
commit6b69a39cf01690d5d82a9b87b0c79ae9398cddcc (patch)
tree33a56c2e46c6b8661af6ca0d7c2ea447b12d9e48
parentRemove 1ms sleep from ping, do the sleep in the test (diff)
downloadlibdbpp-postgresql-6b69a39cf01690d5d82a9b87b0c79ae9398cddcc.tar.bz2
libdbpp-postgresql-6b69a39cf01690d5d82a9b87b0c79ae9398cddcc.tar.xz
libdbpp-postgresql-6b69a39cf01690d5d82a9b87b0c79ae9398cddcc.zip
Remove rebind
-rw-r--r--libpqpp/pq-column.cpp6
-rw-r--r--libpqpp/pq-column.h2
2 files changed, 1 insertions, 7 deletions
diff --git a/libpqpp/pq-column.cpp b/libpqpp/pq-column.cpp
index c569ca2..6b949d4 100644
--- a/libpqpp/pq-column.cpp
+++ b/libpqpp/pq-column.cpp
@@ -75,9 +75,3 @@ PQ::Column::apply(DB::HandleField & h) const
}
}
-void
-PQ::Column::rebind(DB::Command *, unsigned int) const
-{
- throw Error("Not supported");
-}
-
diff --git a/libpqpp/pq-column.h b/libpqpp/pq-column.h
index 5980763..d80090a 100644
--- a/libpqpp/pq-column.h
+++ b/libpqpp/pq-column.h
@@ -12,7 +12,7 @@ namespace PQ {
bool isNull() const;
void apply(DB::HandleField &) const;
- void rebind(DB::Command *, unsigned int) const;
+
protected:
const SelectCommand * sc;
const Oid oid;