summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 04:22:30 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 06:00:07 +0000
commit64cb3449782a0576efa91dfe02da219970d040a9 (patch)
treec368eb51a796869166bc3ea0b4d5c62e78d843bb
parentReshuffle and add new exceptions (diff)
downloadlibdbpp-sqlite-64cb3449782a0576efa91dfe02da219970d040a9.tar.bz2
libdbpp-sqlite-64cb3449782a0576efa91dfe02da219970d040a9.tar.xz
libdbpp-sqlite-64cb3449782a0576efa91dfe02da219970d040a9.zip
Default (not supported) bulk upload implementation
-rw-r--r--libsqlitepp/sqlite-connection.cpp18
-rw-r--r--libsqlitepp/sqlite-connection.h4
2 files changed, 0 insertions, 22 deletions
diff --git a/libsqlitepp/sqlite-connection.cpp b/libsqlitepp/sqlite-connection.cpp
index df7de68..fdd2966 100644
--- a/libsqlitepp/sqlite-connection.cpp
+++ b/libsqlitepp/sqlite-connection.cpp
@@ -110,24 +110,6 @@ SQLite::Connection::newModifyCommand(const std::string & sql) const
return new ModifyCommand(this, sql);
}
-void
-SQLite::Connection::beginBulkUpload(const char *, const char *) const
-{
- throw DB::BulkUploadNotSupported();
-}
-
-void
-SQLite::Connection::endBulkUpload(const char *) const
-{
- throw DB::BulkUploadNotSupported();
-}
-
-size_t
-SQLite::Connection::bulkUploadData(const char *, size_t) const
-{
- throw DB::BulkUploadNotSupported();
-}
-
int64_t
SQLite::Connection::insertId() const
{
diff --git a/libsqlitepp/sqlite-connection.h b/libsqlitepp/sqlite-connection.h
index e7f2956..0ec41dd 100644
--- a/libsqlitepp/sqlite-connection.h
+++ b/libsqlitepp/sqlite-connection.h
@@ -28,10 +28,6 @@ namespace SQLite {
DB::SelectCommand * newSelectCommand(const std::string & sql) const override;
DB::ModifyCommand * newModifyCommand(const std::string & sql) const override;
- void beginBulkUpload(const char *, const char *) const override;
- void endBulkUpload(const char *) const override;
- size_t bulkUploadData(const char *, size_t) const override;
-
int64_t insertId() const override;
sqlite3 * db;