mirror of
https://github.com/MariaDB/server.git
synced 2025-05-04 06:05:05 +03:00
Use in_sum_func (and so nest_level) only in LEX to which SELECT lex belong to Reduce usage of current_select (because it does not always point on the correct SELECT_LEX, for example with prepare. Change context for all classes inherited from Item_ident (was only for Item_field) in case of pushing down it to HAVING. Now name resolution context have to have SELECT_LEX reference if the context is present. Fixed feedback plugin stack usage.
43 lines
1.6 KiB
Plaintext
43 lines
1.6 KiB
Plaintext
select plugin_status from information_schema.plugins where plugin_name='feedback';
|
|
plugin_status
|
|
ACTIVE
|
|
SELECT variable_value INTO @feedback_used FROM information_schema.feedback where variable_name = 'FEEDBACK used';
|
|
SELECT variable_value = @feedback_used + 1 as 'MUST BE 1' FROM information_schema.feedback where variable_name = 'FEEDBACK used';
|
|
MUST BE 1
|
|
1
|
|
select * from information_schema.feedback where variable_name like 'feed%'
|
|
and variable_name not like '%_uid' and variable_name not like 'FEEDBACK used'
|
|
and variable_name not like '%debug%';
|
|
VARIABLE_NAME VARIABLE_VALUE
|
|
FEEDBACK version 1.1
|
|
FEEDBACK_HTTP_PROXY
|
|
FEEDBACK_SEND_RETRY_WAIT 60
|
|
FEEDBACK_SEND_TIMEOUT 60
|
|
FEEDBACK_URL http://mariadb.org/feedback_plugin/post
|
|
FEEDBACK_USER_INFO mysql-test
|
|
SELECT VARIABLE_VALUE>0, VARIABLE_NAME FROM INFORMATION_SCHEMA.FEEDBACK
|
|
WHERE VARIABLE_NAME LIKE 'Collation used %'
|
|
ORDER BY VARIABLE_NAME;
|
|
VARIABLE_VALUE>0 VARIABLE_NAME
|
|
1 Collation used binary
|
|
1 Collation used latin1_bin
|
|
1 Collation used latin1_swedish_ci
|
|
1 Collation used utf8_bin
|
|
1 Collation used utf8_general_ci
|
|
prepare stmt from "SELECT VARIABLE_VALUE>0, VARIABLE_NAME FROM INFORMATION_SCHEMA.FEEDBACK WHERE VARIABLE_NAME LIKE 'Collation used %' ORDER BY VARIABLE_NAME";
|
|
execute stmt;
|
|
VARIABLE_VALUE>0 VARIABLE_NAME
|
|
1 Collation used binary
|
|
1 Collation used latin1_bin
|
|
1 Collation used latin1_swedish_ci
|
|
1 Collation used utf8_bin
|
|
1 Collation used utf8_general_ci
|
|
execute stmt;
|
|
VARIABLE_VALUE>0 VARIABLE_NAME
|
|
1 Collation used binary
|
|
1 Collation used latin1_bin
|
|
1 Collation used latin1_swedish_ci
|
|
1 Collation used utf8_bin
|
|
1 Collation used utf8_general_ci
|
|
deallocate prepare stmt;
|