mirror of
https://github.com/MariaDB/server.git
synced 2025-07-05 12:42:17 +03:00
restore the correct test result
This commit is contained in:
@ -2,9 +2,9 @@ select plugin_status from information_schema.plugins where plugin_name='feedback
|
|||||||
plugin_status
|
plugin_status
|
||||||
ACTIVE
|
ACTIVE
|
||||||
SELECT variable_value INTO @feedback_used FROM information_schema.feedback where variable_name = 'FEEDBACK used';
|
SELECT variable_value INTO @feedback_used FROM information_schema.feedback where variable_name = 'FEEDBACK used';
|
||||||
SELECT variable_value = @feedback_used + 1 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';
|
||||||
variable_value = @feedback_used + 1
|
MUST BE 1
|
||||||
0
|
1
|
||||||
select * from information_schema.feedback where variable_name like 'feed%'
|
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 '%_uid' and variable_name not like 'FEEDBACK used'
|
||||||
and variable_name not like '%debug%';
|
and variable_name not like '%debug%';
|
||||||
|
@ -17,7 +17,7 @@ select plugin_status from information_schema.plugins where plugin_name='feedback
|
|||||||
SELECT variable_value INTO @feedback_used FROM information_schema.feedback where variable_name = 'FEEDBACK used';
|
SELECT variable_value INTO @feedback_used FROM information_schema.feedback where variable_name = 'FEEDBACK used';
|
||||||
|
|
||||||
# Now $feedback_used == X+1, and 'FEEDBACK used' is also X+1. And variable_value is increased again when we run the next SELECT
|
# Now $feedback_used == X+1, and 'FEEDBACK used' is also X+1. And variable_value is increased again when we run the next SELECT
|
||||||
SELECT variable_value = @feedback_used + 1 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';
|
||||||
|
|
||||||
# Now when we are happy with 'FEEDBACK used', we can check everything else
|
# Now when we are happy with 'FEEDBACK used', we can check everything else
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user