diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-01-29 13:50:26 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2020-03-10 19:24:22 +0100 |
commit | 7c58e97bf6f80a251046c5b3e7bce826fe058bd6 (patch) | |
tree | 7d32d26b320cf83296ee0ede2ea164ad116c4de8 /tests/async_queries.c | |
parent | 2ac3121af2767186c489054db5d4871d04b8eef4 (diff) | |
download | mariadb-git-7c58e97bf6f80a251046c5b3e7bce826fe058bd6.tar.gz |
perfschema memory related instrumentation changes
Diffstat (limited to 'tests/async_queries.c')
-rw-r--r-- | tests/async_queries.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/async_queries.c b/tests/async_queries.c index 60b58685daa..e1b7061eaa9 100644 --- a/tests/async_queries.c +++ b/tests/async_queries.c @@ -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"); |