summaryrefslogtreecommitdiff
path: root/sql/sql_connect.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2010-12-08 18:47:21 +0200
committerGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2010-12-08 18:47:21 +0200
commit961cada835e53c32a03e45eff4309be728810632 (patch)
treef13ef41527db2e97c71d633c7e230084edaca873 /sql/sql_connect.cc
parent9b6ba6a99aa353efd2da8dc8493aa932cc7523c2 (diff)
downloadmariadb-git-961cada835e53c32a03e45eff4309be728810632.tar.gz
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
Diffstat (limited to 'sql/sql_connect.cc')
-rw-r--r--sql/sql_connect.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_connect.cc b/sql/sql_connect.cc
index a47493b7d0d..9799ae14b2f 100644
--- a/sql/sql_connect.cc
+++ b/sql/sql_connect.cc
@@ -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);