Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
fae6539e
Commit
fae6539e
authored
May 17, 2019
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restore the correct test result
parent
cd16d6d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/suite/plugins/r/feedback_plugin_load.result
mysql-test/suite/plugins/r/feedback_plugin_load.result
+3
-3
mysql-test/suite/plugins/t/feedback_plugin_load.test
mysql-test/suite/plugins/t/feedback_plugin_load.test
+1
-1
No files found.
mysql-test/suite/plugins/r/feedback_plugin_load.result
View file @
fae6539e
...
...
@@ -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%';
...
...
mysql-test/suite/plugins/t/feedback_plugin_load.test
View file @
fae6539e
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment