summaryrefslogtreecommitdiff
path: root/sql/sql_cursor.cc
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2015-11-18 22:55:17 +0400
committerSergey Vojtovich <svoj@mariadb.org>2015-11-26 11:34:16 +0400
commit0746a0770867b621cb4fee08239419bec69a2de8 (patch)
tree2c623b43229b17dd196fcb9c965c8c52c607f390 /sql/sql_cursor.cc
parent464394bf478a7f3b397ec7045627f827a34c1f09 (diff)
downloadmariadb-git-0746a0770867b621cb4fee08239419bec69a2de8.tar.gz
MDEV-8718 - Obsolete sql_strmake() in favor of THD::strmake() and thd_strmake()
Diffstat (limited to 'sql/sql_cursor.cc')
-rw-r--r--sql/sql_cursor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_cursor.cc b/sql/sql_cursor.cc
index a8c5569ba4a..7ecce8a8da3 100644
--- a/sql/sql_cursor.cc
+++ b/sql/sql_cursor.cc
@@ -277,7 +277,7 @@ int Materialized_cursor::send_result_set_metadata(
{
Send_field send_field;
Item_ident *ident= static_cast<Item_ident *>(item_dst);
- item_org->make_field(&send_field);
+ item_org->make_field(thd, &send_field);
ident->db_name= thd->strdup(send_field.db_name);
ident->table_name= thd->strdup(send_field.table_name);