summaryrefslogtreecommitdiff
path: root/sql/keycaches.h
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2013-04-17 22:33:33 +0300
committerMichael Widenius <monty@askmonty.org>2013-04-17 22:33:33 +0300
commit8e526985800678de20356cece1183f49f69c26f9 (patch)
tree2213bcbcd50e92689e28be978d378cea33cfd497 /sql/keycaches.h
parent43fe53acc225a2cea07188d142c1c0f8364cc43b (diff)
downloadmariadb-git-8e526985800678de20356cece1183f49f69c26f9.tar.gz
Fixed compiler warnings and a not critical memory leak
sql/keycaches.cc: Added free_all_rpl_filters() to be able to free all filters at cleanup sql/keycaches.h: Added prototype sql/rpl_rli.cc: Fixed compiler warning sql/slave.cc: Free all rpl_filters at cleanup sql/sp.cc: Fixed compiler warning when not all struct elements was initialized sql/sql_acl.cc: Fixed compiler warning when not all struct elements was initialized storage/perfschema/table_events_waits.cc: Fixed compiler warning when not all struct elements was initialized storage/perfschema/table_events_waits_summary.cc: Fixed compiler warning when not all struct elements was initialized storage/perfschema/table_ews_global_by_event_name.cc: Fixed compiler warning when not all struct elements was initialized storage/perfschema/table_file_instances.cc: Fixed compiler warning when not all struct elements was initialized storage/perfschema/table_file_summary.cc: Fixed compiler warning when not all struct elements was initialized storage/perfschema/table_performance_timers.cc: Fixed compiler warning when not all struct elements was initialized storage/perfschema/table_setup_consumers.cc: Fixed compiler warning when not all struct elements was initialized storage/perfschema/table_setup_instruments.cc: Fixed compiler warning when not all struct elements was initialized storage/perfschema/table_setup_timers.cc: Fixed compiler warning when not all struct elements was initialized storage/perfschema/table_sync_instances.cc: Fixed compiler warning when not all struct elements was initialized storage/perfschema/table_threads.cc: Fixed compiler warning when not all struct elements was initialized storage/xtradb/os/os0file.c: Fixed compiler warning when not all struct elements was initialized
Diffstat (limited to 'sql/keycaches.h')
-rw-r--r--sql/keycaches.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/keycaches.h b/sql/keycaches.h
index 2d52cb28973..32537339e2e 100644
--- a/sql/keycaches.h
+++ b/sql/keycaches.h
@@ -53,5 +53,6 @@ Rpl_filter *create_rpl_filter(const char *name, uint length);
Rpl_filter *get_rpl_filter(LEX_STRING *filter_name);
Rpl_filter *get_or_create_rpl_filter(const char *name, uint length);
void free_rpl_filter(const char *name, Rpl_filter *filter);
+void free_all_rpl_filters(void);
#endif /* KEYCACHES_INCLUDED */