From 334daf7dfdd2f815e5c112a9e98fbc878ae4e41c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 29 Dec 2015 01:59:25 +0000 Subject: Remove rebind --- libpqpp/pq-column.cpp | 6 ------ libpqpp/pq-column.h | 2 +- 2 files changed, 1 insertion(+), 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; -- cgit v1.2.3