diff options
| author | Alexander Nozdrin <alik@sun.com> | 2009-11-06 18:28:25 +0300 |
|---|---|---|
| committer | Alexander Nozdrin <alik@sun.com> | 2009-11-06 18:28:25 +0300 |
| commit | db6334d49e4e3036f27b1b09ce0d6b779430199a (patch) | |
| tree | 894961090682e834a390c1897a2aa0d5b5a58a9a /sql/sql_cursor.cc | |
| parent | 9c61ec687f093766319b64c760a099d6a61587fd (diff) | |
| parent | 3cf634553518bcabcd6f561bc8c0cfe509216c21 (diff) | |
| download | mariadb-git-db6334d49e4e3036f27b1b09ce0d6b779430199a.tar.gz | |
Auto-merge from mysql-trunk-merge.
Diffstat (limited to 'sql/sql_cursor.cc')
| -rw-r--r-- | sql/sql_cursor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_cursor.cc b/sql/sql_cursor.cc index 6d07f753086..ffc3fafe55f 100644 --- a/sql/sql_cursor.cc +++ b/sql/sql_cursor.cc @@ -169,7 +169,7 @@ int mysql_open_cursor(THD *thd, uint flags, select_result *result, thd->lock_id= sensitive_cursor->get_lock_id(); thd->cursor= sensitive_cursor; } - 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, |
