summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdbpp/column.h1
-rw-r--r--libdbpp/command.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/libdbpp/column.h b/libdbpp/column.h
index 5ca0be1..2eb2e8d 100644
--- a/libdbpp/column.h
+++ b/libdbpp/column.h
@@ -11,6 +11,7 @@ namespace DB {
virtual void null() = 0;
virtual void string(const char *, size_t len) = 0;
virtual void integer(int64_t) = 0;
+ virtual void boolean(bool) = 0;
virtual void floatingpoint(double) = 0;
virtual void interval(const boost::posix_time::time_duration &) = 0;
virtual void timestamp(const boost::posix_time::ptime &) = 0;
diff --git a/libdbpp/command.h b/libdbpp/command.h
index df621d2..8cc515f 100644
--- a/libdbpp/command.h
+++ b/libdbpp/command.h
@@ -17,6 +17,8 @@ namespace DB {
virtual void bindParamI(unsigned int i, unsigned long int val) = 0;
virtual void bindParamI(unsigned int i, unsigned long long int val) = 0;
+ virtual void bindParamB(unsigned int i, bool val) = 0;
+
virtual void bindParamF(unsigned int i, double val) = 0;
virtual void bindParamF(unsigned int i, float val) = 0;