1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Replace ha_calpont with ha_mcs in the source code and filenames in the plugin code.

This commit is contained in:
Gagan Goel
2019-10-09 19:49:37 +00:00
parent 6b650e859d
commit c8df46ed26
23 changed files with 312 additions and 312 deletions

View File

@ -17,9 +17,9 @@
MA 02110-1301, USA. */
#define NEED_CALPONT_INTERFACE
#include "ha_calpont_impl.h"
#include "ha_mcs_impl.h"
#include "ha_calpont_impl_if.h"
#include "ha_mcs_impl_if.h"
using namespace cal_impl_if;
#include "configcpp.h"
@ -497,7 +497,7 @@ extern "C"
//cout << "viewtablelock starts a new client " << ci->dmlProc << " for session " << thd->thread_id << endl;
}
std::string lockinfo = ha_calpont_impl_viewtablelock(*ci, tableName);
std::string lockinfo = ha_mcs_impl_viewtablelock(*ci, tableName);
memcpy(result, lockinfo.c_str(), lockinfo.length());
*length = lockinfo.length();
@ -550,7 +550,7 @@ extern "C"
}
unsigned long long uLockID = lockID;
std::string lockinfo = ha_calpont_impl_cleartablelock(*ci, uLockID);
std::string lockinfo = ha_mcs_impl_cleartablelock(*ci, uLockID);
memcpy(result, lockinfo.c_str(), lockinfo.length());
*length = lockinfo.length();