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

Updates to plugin code based on recent changes in the server 10.5 branch.

This commit is contained in:
Gagan Goel
2020-03-12 00:42:16 +00:00
parent f01185f991
commit 457ec0d483
3 changed files with 10 additions and 10 deletions

View File

@ -553,7 +553,7 @@ MYSQL_RES* mysql_use_result(MYSQL* mysql)
DBUG_RETURN(0);
}
if (!(result = (MYSQL_RES*) my_malloc(sizeof(*result) +
if (!(result = (MYSQL_RES*) my_malloc(PSI_NOT_INSTRUMENTED, sizeof(*result) +
sizeof(ulong) * mysql->field_count,
MYF(MY_WME | MY_ZEROFILL))))
DBUG_RETURN(0);
@ -562,7 +562,7 @@ MYSQL_RES* mysql_use_result(MYSQL* mysql)
result->methods = mysql->methods;
if (!(result->row = (MYSQL_ROW)
my_malloc(sizeof(result->row[0]) * (mysql->field_count + 1), MYF(MY_WME))))
my_malloc(PSI_NOT_INSTRUMENTED, sizeof(result->row[0]) * (mysql->field_count + 1), MYF(MY_WME))))
{
/* Ptrs: to one row */
my_free(result);