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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
880a4583
Commit
880a4583
authored
Jan 31, 2009
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bad merge of 5.1-main -> 5.1-bugteam
parent
aee3cb63
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
2 deletions
+44
-2
mysql-test/r/change_user.result
mysql-test/r/change_user.result
+2
-2
mysql-test/r/not_embedded_server.result
mysql-test/r/not_embedded_server.result
+2
-0
mysql-test/t/not_embedded_server.test
mysql-test/t/not_embedded_server.test
+40
-0
No files found.
mysql-test/r/change_user.result
View file @
880a4583
...
@@ -47,7 +47,7 @@ NULL
...
@@ -47,7 +47,7 @@ NULL
FLUSH STATUS;
FLUSH STATUS;
SHOW GLOBAL STATUS LIKE 'com_select';
SHOW GLOBAL STATUS LIKE 'com_select';
Variable_name Value
Variable_name Value
Com_select 11
2
Com_select 11
7
SHOW GLOBAL STATUS LIKE 'com_select';
SHOW GLOBAL STATUS LIKE 'com_select';
Variable_name Value
Variable_name Value
Com_select 11
2
Com_select 11
7
mysql-test/r/not_embedded_server.result
View file @
880a4583
FLUSH STATUS;
Value of com_select did not change
mysql-test/t/not_embedded_server.test
View file @
880a4583
...
@@ -32,4 +32,44 @@
...
@@ -32,4 +32,44 @@
#deallocate prepare stmt1;
#deallocate prepare stmt1;
#
# Bug#31222: com_% global status counters behave randomly with
# mysql_change_user.
#
# Moved from change_user.test due to Bug#34517: SHOW GLOBAL STATUS does not
# work properly in embedded server.
#
# TODO: move it back when Bug#34517 is fixed.
#
FLUSH
STATUS
;
--
disable_result_log
--
disable_query_log
let
$i
=
100
;
while
(
$i
)
{
dec
$i
;
SELECT
1
;
}
--
enable_query_log
--
enable_result_log
let
$before
=
query_get_value
(
SHOW
GLOBAL
STATUS
LIKE
'com_select'
,
Value
,
1
);
--
change_user
let
$after
=
query_get_value
(
SHOW
GLOBAL
STATUS
LIKE
'com_select'
,
Value
,
1
);
if
(
`select $after != $before`
){
SHOW
GLOBAL
STATUS
LIKE
'com_select'
;
die
The
value
of
com_select
changed
during
change_user
;
}
echo
Value
of
com_select
did
not
change
;
# End of 5.1 tests
# End of 5.1 tests
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