summaryrefslogtreecommitdiff
path: root/sql/sql_cursor.cc
diff options
context:
space:
mode:
authorDmitry Shulga <dmitry.shulga@mariadb.com>2021-05-19 11:28:58 +0700
committerSergei Golubchik <serg@mariadb.org>2021-06-17 19:30:24 +0200
commita00b51f639dc9aab8a7b788265ec75e388f22b09 (patch)
tree3841b6560e66d4bc165ad77bb463caa0c2d082b2 /sql/sql_cursor.cc
parentb33111ba93a6bc279a51b512033e42e702cf5ed7 (diff)
downloadmariadb-git-a00b51f639dc9aab8a7b788265ec75e388f22b09.tar.gz
MDEV-16708: Fixed the failed test main.set_statement
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 b995a841a74..0324e9691e8 100644
--- a/sql/sql_cursor.cc
+++ b/sql/sql_cursor.cc
@@ -197,7 +197,7 @@ int mysql_open_cursor(THD *thd, select_result *result,
}
*pcursor= materialized_cursor;
- thd->stmt_arena->cleanup_stmt();
+ thd->stmt_arena->cleanup_stmt(true);
}
end: