diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 04:22:30 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 06:00:07 +0000 |
commit | f325f9c54dfa814456d16ff0955d123cf80ae17f (patch) | |
tree | 0ab8acc0f0f4cfcd057ef1a10421cbeb9203d40d | |
parent | Reshuffle and add new exceptions (diff) | |
download | libdbpp-odbc-f325f9c54dfa814456d16ff0955d123cf80ae17f.tar.bz2 libdbpp-odbc-f325f9c54dfa814456d16ff0955d123cf80ae17f.tar.xz libdbpp-odbc-f325f9c54dfa814456d16ff0955d123cf80ae17f.zip |
Default (not supported) bulk upload implementation
-rw-r--r-- | libodbcpp/odbc-connection.cpp | 13 | ||||
-rw-r--r-- | libodbcpp/odbc-connection.h | 4 |
2 files changed, 0 insertions, 17 deletions
diff --git a/libodbcpp/odbc-connection.cpp b/libodbcpp/odbc-connection.cpp index 1788a4a..1616e18 100644 --- a/libodbcpp/odbc-connection.cpp +++ b/libodbcpp/odbc-connection.cpp @@ -245,16 +245,3 @@ ODBC::ConnectionError::ConnectionError(RETCODE err, SQLSMALLINT handletype, SQLH { } -void ODBC::Connection::beginBulkUpload(const char *, const char *) const -{ - throw DB::BulkUploadNotSupported(); -} -void ODBC::Connection::endBulkUpload(const char *) const -{ - throw DB::BulkUploadNotSupported(); -} -size_t ODBC::Connection::bulkUploadData(const char *, size_t) const -{ - throw DB::BulkUploadNotSupported(); -} - diff --git a/libodbcpp/odbc-connection.h b/libodbcpp/odbc-connection.h index c2f4791..a1c82ba 100644 --- a/libodbcpp/odbc-connection.h +++ b/libodbcpp/odbc-connection.h @@ -37,10 +37,6 @@ 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; |