summaryrefslogtreecommitdiff
path: root/sql/item_create.h
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2021-04-24 09:06:16 +0300
committerAleksey Midenkov <midenok@gmail.com>2021-04-27 09:08:44 +0300
commit23e090626a9138f44905a5a8e681e8952f98aac7 (patch)
tree68ec2e87bc31624dd6834bde7f22c6ba6ff3bdb1 /sql/item_create.h
parent6d73282b136058deb992fdb758d8992fa186e73e (diff)
downloadmariadb-git-23e090626a9138f44905a5a8e681e8952f98aac7.tar.gz
MDEV-20842 Crash using versioning plugin functions after plugin was removed from server
Remove plugin functions via item_create_remove() at deinit time.
Diffstat (limited to 'sql/item_create.h')
-rw-r--r--sql/item_create.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_create.h b/sql/item_create.h
index b9d5ab9f377..7e92016ab96 100644
--- a/sql/item_create.h
+++ b/sql/item_create.h
@@ -214,6 +214,7 @@ struct Native_func_registry
int item_create_init();
int item_create_append(Native_func_registry array[]);
+int item_create_remove(Native_func_registry array[]);
void item_create_cleanup();
Item *create_func_dyncol_create(THD *thd, List<DYNCALL_CREATE_DEF> &list);