From f325f9c54dfa814456d16ff0955d123cf80ae17f Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 29 Dec 2015 04:22:30 +0000 Subject: Default (not supported) bulk upload implementation --- libodbcpp/odbc-connection.cpp | 13 ------------- libodbcpp/odbc-connection.h | 4 ---- 2 files changed, 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; -- cgit v1.2.3