mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
be269e56d2
SHOW STATUS are not anymore put in slow query log because of no index usage. Implemntation done by removing orig_sql_command and moving logic of SHOW STATUS to mysql_excute_command() This simplifies code and allows us to remove some if statements all over the code. Upgraded uc_update_queries[] to sql_command_flags and added more bitmaps to better categorize commands. This allowed some overall simplifaction when testing sql_command. Fixes bugs: Bug#10210: running SHOW STATUS increments counters it shouldn't Bug#19764: SHOW commands end up in the slow log as table scans
18 lines
650 B
Text
18 lines
650 B
Text
--disable_warnings
|
|
create database if not exists events_test;
|
|
--enable_warnings
|
|
|
|
use events_test;
|
|
|
|
--error ER_NOT_SUPPORTED_YET
|
|
CREATE EVENT micro_test ON SCHEDULE EVERY 100 MICROSECOND DO SELECT 1;
|
|
--error ER_NOT_SUPPORTED_YET
|
|
CREATE EVENT micro_test ON SCHEDULE EVERY 100 DAY_MICROSECOND DO SELECT 1;
|
|
--error ER_NOT_SUPPORTED_YET
|
|
CREATE EVENT micro_test ON SCHEDULE EVERY 100 HOUR_MICROSECOND DO SELECT 1;
|
|
--error ER_NOT_SUPPORTED_YET
|
|
CREATE EVENT micro_test ON SCHEDULE EVERY 100 MINUTE_MICROSECOND DO SELECT 1;
|
|
--error ER_NOT_SUPPORTED_YET
|
|
CREATE EVENT micro_test ON SCHEDULE EVERY 100 SECOND_MICROSECOND DO SELECT 1;
|
|
|
|
drop database events_test;
|