mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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:
@ -577,6 +577,8 @@ class Rowid_seq_cursor
|
||||
uint ref_length;
|
||||
|
||||
public:
|
||||
virtual ~Rowid_seq_cursor() {}
|
||||
|
||||
void init(READ_RECORD *info)
|
||||
{
|
||||
cache_start= info->cache_pos;
|
||||
@ -631,6 +633,7 @@ class Table_read_cursor : public Rowid_seq_cursor
|
||||
*/
|
||||
READ_RECORD *read_record;
|
||||
public:
|
||||
virtual ~Table_read_cursor() {}
|
||||
|
||||
void init(READ_RECORD *info)
|
||||
{
|
||||
|
Reference in New Issue
Block a user