mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
cleanup of SHOW STATUS code, as a preparation for WL#2935
(MySQL plugin interface: status variables) adding SHOW_FUNC, removing SHOW_some_specific_value, only generic SHOW_LONG/SHOW_CHAR/etc are recognized. changing to use SHOW_FUNC instead of ha_update_statistics
This commit is contained in:
@ -1538,7 +1538,7 @@ inline bool ha_check_storage_engine_flag(const handlerton *db_type, uint32 flag)
|
||||
|
||||
inline bool ha_storage_engine_is_enabled(const handlerton *db_type)
|
||||
{
|
||||
return (db_type && db_type->create) ?
|
||||
return (db_type && db_type->create) ?
|
||||
(db_type->state == SHOW_OPTION_YES) : FALSE;
|
||||
}
|
||||
|
||||
@ -1549,7 +1549,6 @@ int ha_initialize_handlerton(handlerton *hton);
|
||||
|
||||
TYPELIB *ha_known_exts(void);
|
||||
int ha_panic(enum ha_panic_function flag);
|
||||
int ha_update_statistics();
|
||||
void ha_close_connection(THD* thd);
|
||||
bool ha_flush_logs(handlerton *db_type);
|
||||
void ha_drop_database(char* path);
|
||||
|
Reference in New Issue
Block a user