mirror of
https://github.com/MariaDB/server.git
synced 2025-08-23 03:54:27 +03:00
24 lines
804 B
Plaintext
24 lines
804 B
Plaintext
if (`select count(*) = 0 from information_schema.plugins where plugin_name = 'feedback' and plugin_status='active'`)
|
|
{
|
|
--skip Feedback plugin is not active
|
|
}
|
|
|
|
select plugin_status from information_schema.plugins where plugin_name='feedback';
|
|
--replace_result https http
|
|
--sorted_result
|
|
select * from information_schema.feedback where variable_name like 'feed%'
|
|
and variable_name not like '%_uid';
|
|
|
|
|
|
# Embedded server does not use the table mysqld.user and thus
|
|
# does not automatically use latin1_bin on startup. Use it manually.
|
|
--disable_query_log
|
|
if (`SELECT VERSION() LIKE '%embedded%'`)
|
|
{
|
|
DO _latin1'test' COLLATE latin1_bin;
|
|
}
|
|
--enable_query_log
|
|
SELECT VARIABLE_VALUE>0, VARIABLE_NAME FROM INFORMATION_SCHEMA.FEEDBACK
|
|
WHERE VARIABLE_NAME LIKE 'Collation used %'
|
|
ORDER BY VARIABLE_NAME;
|