mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Cleanups
- Avoid some realloc() during startup - Ensure that file_key_management_plugin frees it's memory early, even if it's linked statically. - Fixed compiler warnings from unused variables and missing destructors - Fixed wrong indentation
This commit is contained in:
@ -239,6 +239,11 @@ public:
|
||||
delete_dynamic(&array);
|
||||
}
|
||||
|
||||
void free_memory()
|
||||
{
|
||||
delete_dynamic(&array);
|
||||
}
|
||||
|
||||
typedef int (*CMP_FUNC)(const Elem *el1, const Elem *el2);
|
||||
|
||||
void sort(CMP_FUNC cmp_func)
|
||||
|
Reference in New Issue
Block a user