1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Mistype bug error handler fix

This commit is contained in:
Leonid Fedorov
2022-07-05 17:01:29 +03:00
committed by Leonid Fedorov
parent a3bc3de5f4
commit 242769d542

View File

@ -128,7 +128,8 @@ extern "C"
if (res != CURLE_OK)
{
std::string msg = std::string("Remote request failed: ") + curl_easy_strerror(res);
std::string msg = std::string("CMAPI Remote request failed: ") + curl_easy_strerror(res);
result = new char[msg.length() + 1];
memcpy(result, msg.c_str(), msg.length());
*length = msg.length();
return result;