summaryrefslogtreecommitdiff
path: root/sql/item_func.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r--sql/item_func.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc
index db78c811eb9..7576bca6701 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -4725,6 +4725,7 @@ Item_func_sp::cleanup()
delete result_field;
result_field= NULL;
}
+ m_sp= NULL;
Item_func::cleanup();
}