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
26e86758
Commit
26e86758
authored
Jan 31, 2009
by
Davi Arnaut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicated test for Bug#34517
parent
91ac2afa
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
51 deletions
+17
-51
mysql-test/r/change_user.result
mysql-test/r/change_user.result
+1
-6
mysql-test/r/not_embedded_server.result
mysql-test/r/not_embedded_server.result
+3
-2
mysql-test/t/change_user.test
mysql-test/t/change_user.test
+8
-2
mysql-test/t/not_embedded_server.test
mysql-test/t/not_embedded_server.test
+5
-41
No files found.
mysql-test/r/change_user.result
View file @
26e86758
...
...
@@ -45,9 +45,4 @@ SELECT IS_USED_LOCK('bug31418');
IS_USED_LOCK('bug31418')
NULL
FLUSH STATUS;
SHOW GLOBAL STATUS LIKE 'com_select';
Variable_name Value
Com_select 117
SHOW GLOBAL STATUS LIKE 'com_select';
Variable_name Value
Com_select 117
Value of com_select did not change
mysql-test/r/not_embedded_server.result
View file @
26e86758
FLUSH STATUS;
Value of com_select did not change
select 1;
1
1
mysql-test/t/change_user.test
View file @
26e86758
...
...
@@ -63,8 +63,14 @@ while ($i)
--
enable_query_log
--
enable_result_log
SHOW
GLOBAL
STATUS
LIKE
'com_select'
;
let
$before
=
query_get_value
(
SHOW
GLOBAL
STATUS
LIKE
'com_select'
,
Value
,
1
)
;
--
change_user
SHOW
GLOBAL
STATUS
LIKE
'com_select'
;
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
;
mysql-test/t/not_embedded_server.test
View file @
26e86758
...
...
@@ -4,6 +4,11 @@
--
source
include
/
not_embedded
.
inc
#
# Produce output
#
select
1
;
# The following fails sporadically because 'check-testcase' runs
# queries before this test and there is no way to guarantee that any
...
...
@@ -31,45 +36,4 @@
#execute 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
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