diff options
Diffstat (limited to 'libodbcpp')
-rw-r--r-- | libodbcpp/connection.cpp | 14 | ||||
-rw-r--r-- | libodbcpp/connection.h | 4 |
2 files changed, 18 insertions, 0 deletions
diff --git a/libodbcpp/connection.cpp b/libodbcpp/connection.cpp index 8619201..29a716c 100644 --- a/libodbcpp/connection.cpp +++ b/libodbcpp/connection.cpp @@ -1,4 +1,5 @@ #include <sqlext.h> +#include <stdexcept> #include <syslog.h> #include <stdio.h> #include <string.h> @@ -255,3 +256,16 @@ ODBC::ConnectionError::ConnectionError(const ConnectionError & e) : { } +void ODBC::Connection::beginBulkUpload(const char *, const char *) const +{ + throw std::runtime_error("Not implemented"); +} +void ODBC::Connection::endBulkUpload(const char *) const +{ + throw std::runtime_error("Not implemented"); +} +size_t ODBC::Connection::bulkUploadData(const char *, size_t) const +{ + throw std::runtime_error("Not implemented"); +} + diff --git a/libodbcpp/connection.h b/libodbcpp/connection.h index 0e507bd..fc4c028 100644 --- a/libodbcpp/connection.h +++ b/libodbcpp/connection.h @@ -32,6 +32,10 @@ namespace ODBC { DB::SelectCommand * newSelectCommand(const std::string & sql) const; DB::ModifyCommand * newModifyCommand(const std::string & sql) const; + void beginBulkUpload(const char *, const char *) const; + void endBulkUpload(const char *) const; + size_t bulkUploadData(const char *, size_t) const; + private: DB::BulkDeleteStyle thinkDelStyle; DB::BulkUpdateStyle thinkUpdStyle; |