diff options
author | randomdan <randomdan@localhost> | 2012-03-20 01:24:43 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2012-03-20 01:24:43 +0000 |
commit | adc26a5730d1782122059b0ac6bba893e72fc867 (patch) | |
tree | 55575eab487a1578e882e6d7bb8bae72eed932a4 /libodbcpp | |
parent | Fix function definitions to match declarations (fixes Doxygen warnings) (diff) | |
download | libdbpp-odbc-adc26a5730d1782122059b0ac6bba893e72fc867.tar.bz2 libdbpp-odbc-adc26a5730d1782122059b0ac6bba893e72fc867.tar.xz libdbpp-odbc-adc26a5730d1782122059b0ac6bba893e72fc867.zip |
A stream interface, an RDBMS bulk load interface, a decompression layer, an implementation of CURL streams and a sqlbulkload task.
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; |