1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Bug #58350: 5.5.7-rc compile failed at sp_head.cc

Fixed the references to security_ctx->priv_user
to be real char * pointers instead of a C array name reference.
This is somehow important for some 3d party 
dtrace replacements
This commit is contained in:
Georgi Kodinov
2010-12-08 18:47:21 +02:00
parent 9b6ba6a99a
commit 961cada835
5 changed files with 8 additions and 8 deletions

View File

@ -736,7 +736,7 @@ void do_handle_one_connection(THD *thd_arg)
if (rc)
goto end_thread;
MYSQL_CONNECTION_START(thd->thread_id, thd->security_ctx->priv_user,
MYSQL_CONNECTION_START(thd->thread_id, &thd->security_ctx->priv_user[0],
(char *) thd->security_ctx->host_or_ip);
prepare_new_connection_state(thd);