mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
db8af31831
Extend existing plugins to support * SHOW QUERY_RESPONSE_TIME * FLUSH QUERY_RESPONSE_TIME * SHOW LOCALE move userstat tables to use the new API instead of hand-coded syntax
13 lines
357 B
Text
13 lines
357 B
Text
if (`select count(*) = 0 from information_schema.plugins where plugin_name = 'locales' and plugin_status='active'`)
|
|
{
|
|
--skip LOCALES plugin is not active
|
|
}
|
|
|
|
select * from information_schema.locales;
|
|
show locales;
|
|
--error ER_PARSE_ERROR
|
|
show locales like '%spanish%';
|
|
show locales where description like '%spanish%';
|
|
--error ER_PARSE_ERROR
|
|
flush locales;
|
|
|