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 | bc6fa4baefb2444d826082c093189997f1fdb8ca (patch) | |
tree | b6d2b1f3b3dcdfce6b8bc1bbe94d54c6a355106e /libmysqlpp/my-connection.cpp | |
parent | Reshuffle and add new exceptions (diff) | |
download | libdbpp-mysql-bc6fa4baefb2444d826082c093189997f1fdb8ca.tar.bz2 libdbpp-mysql-bc6fa4baefb2444d826082c093189997f1fdb8ca.tar.xz libdbpp-mysql-bc6fa4baefb2444d826082c093189997f1fdb8ca.zip |
Default (not supported) bulk upload implementation
Diffstat (limited to 'libmysqlpp/my-connection.cpp')
-rw-r--r-- | libmysqlpp/my-connection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysqlpp/my-connection.cpp b/libmysqlpp/my-connection.cpp index 4aa0ab9..3afbe30 100644 --- a/libmysqlpp/my-connection.cpp +++ b/libmysqlpp/my-connection.cpp @@ -223,7 +223,7 @@ namespace MySQL { } void -MySQL::Connection::beginBulkUpload(const char * table, const char * extra) const +MySQL::Connection::beginBulkUpload(const char * table, const char * extra) { static char buf[BUFSIZ]; int len = snprintf(buf, BUFSIZ, "LOAD DATA LOCAL INFILE 'any' INTO TABLE %s %s", table, extra); @@ -238,7 +238,7 @@ MySQL::Connection::beginBulkUpload(const char * table, const char * extra) const } void -MySQL::Connection::endBulkUpload(const char * msg) const +MySQL::Connection::endBulkUpload(const char * msg) { ctx->loadBuf = NULL; ctx->loadBufLen = 0; |