diff options
author | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-12-08 18:47:21 +0200 |
---|---|---|
committer | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-12-08 18:47:21 +0200 |
commit | 961cada835e53c32a03e45eff4309be728810632 (patch) | |
tree | f13ef41527db2e97c71d633c7e230084edaca873 /sql/sql_prepare.cc | |
parent | 9b6ba6a99aa353efd2da8dc8493aa932cc7523c2 (diff) | |
download | mariadb-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_prepare.cc')
-rw-r--r-- | sql/sql_prepare.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc index 345f7158dbf..f319c0fdd8b 100644 --- a/sql/sql_prepare.cc +++ b/sql/sql_prepare.cc @@ -3759,7 +3759,7 @@ bool Prepared_statement::execute(String *expanded_query, bool open_cursor) MYSQL_QUERY_EXEC_START(thd->query(), thd->thread_id, (char *) (thd->db ? thd->db : ""), - thd->security_ctx->priv_user, + &thd->security_ctx->priv_user[0], (char *) thd->security_ctx->host_or_ip, 1); error= mysql_execute_command(thd); |