summaryrefslogtreecommitdiff
path: root/sql/sp_head.cc
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2009-11-05 17:51:00 +0300
committerAlexander Nozdrin <alik@sun.com>2009-11-05 17:51:00 +0300
commit120425ccfda32bb439c3f510f41532cfe3aa79de (patch)
tree66fdd703f7b1920dc0393b84b8a70c46922bc43a /sql/sp_head.cc
parent45c2de8ffdae93625bdcbdf2f82d0207253d61b9 (diff)
downloadmariadb-git-120425ccfda32bb439c3f510f41532cfe3aa79de.tar.gz
Fix automerge: use 'thd->query()' instead of 'thd->query'.
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r--sql/sp_head.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index fe04ea93f60..940af540fd7 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -2907,7 +2907,7 @@ sp_instr_stmt::print(String *str)
int
sp_instr_stmt::exec_core(THD *thd, uint *nextp)
{
- MYSQL_QUERY_EXEC_START(thd->query,
+ MYSQL_QUERY_EXEC_START(thd->query(),
thd->thread_id,
(char *) (thd->db ? thd->db : ""),
thd->security_ctx->priv_user,