1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

perfschema memory related instrumentation changes

This commit is contained in:
Sergei Golubchik
2020-01-29 13:50:26 +01:00
parent 2ac3121af2
commit 7c58e97bf6
307 changed files with 2622 additions and 1743 deletions

View File

@@ -314,8 +314,8 @@ add_query(const char *q)
char *q2;
size_t len;
e= my_malloc(sizeof(*e), MYF(0));
q2= my_strdup(q, MYF(0));
e= my_malloc(PSI_NOT_INSTRUMENTED, sizeof(*e), MYF(0));
q2= my_strdup(PSI_NOT_INSTRUMENTED, q, MYF(0));
if (!e || !q2)
fatal(NULL, "Out of memory");
@@ -394,7 +394,7 @@ main(int argc, char *argv[])
add_query(*argv++);
}
sds= my_malloc(opt_connections * sizeof(*sds), MYF(0));
sds= my_malloc(PSI_NOT_INSTRUMENTED, opt_connections * sizeof(*sds), MYF(0));
if (!sds)
fatal(NULL, "Out of memory");