mirror of
https://github.com/MariaDB/server.git
synced 2025-05-28 13:01:41 +03:00
restore the correct test result
This commit is contained in:
parent
cd16d6d518
commit
fae6539ef7
@ -2,9 +2,9 @@ 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 FROM information_schema.feedback where variable_name = 'FEEDBACK used';
|
||||
variable_value = @feedback_used + 1
|
||||
0
|
||||
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%';
|
||||
|
@ -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';
|
||||
|
||||
# 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user