From bc6fa4baefb2444d826082c093189997f1fdb8ca 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 --- libmysqlpp/my-connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmysqlpp/my-connection.cpp') 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; -- cgit v1.2.3