diff options
Diffstat (limited to 'libmysqld/libmysqld.c')
-rw-r--r-- | libmysqld/libmysqld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysqld/libmysqld.c b/libmysqld/libmysqld.c index 6de86927a38..d29126467e2 100644 --- a/libmysqld/libmysqld.c +++ b/libmysqld/libmysqld.c @@ -157,7 +157,7 @@ mysql_real_connect(MYSQL *mysql,const char *host, const char *user, put extra 'my_free's in mysql_close. So we alloc it with the 'user' string to be freed at once */ - mysql->user= my_strdup(user, MYF(0)); + mysql->user= my_strdup(PSI_NOT_INSTRUMENTED, user, MYF(0)); port=0; unix_socket=0; @@ -175,7 +175,7 @@ mysql_real_connect(MYSQL *mysql,const char *host, const char *user, if (db) client_flag|=CLIENT_CONNECT_WITH_DB; - mysql->info_buffer= my_malloc(MYSQL_ERRMSG_SIZE, MYF(0)); + mysql->info_buffer= my_malloc(PSI_NOT_INSTRUMENTED, MYSQL_ERRMSG_SIZE, MYF(0)); mysql->thd= create_embedded_thd(client_flag); init_embedded_mysql(mysql, client_flag); |