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
eee737d8
Commit
eee737d8
authored
Apr 09, 2008
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix not_embedded_server to check if the value of com_select changed
regardless of it's current value
parent
98ab99f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
mysql-test/r/not_embedded_server.result
mysql-test/r/not_embedded_server.result
+1
-6
mysql-test/t/not_embedded_server.test
mysql-test/t/not_embedded_server.test
+8
-2
No files found.
mysql-test/r/not_embedded_server.result
View file @
eee737d8
...
@@ -4,9 +4,4 @@ ID USER HOST DB COMMAND TIME STATE INFO
...
@@ -4,9 +4,4 @@ ID USER HOST DB COMMAND TIME STATE INFO
number root localhost test Query time executing SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST WHERE COMMAND!='Daemon'
number root localhost test Query time executing SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST WHERE COMMAND!='Daemon'
deallocate prepare stmt1;
deallocate prepare stmt1;
FLUSH STATUS;
FLUSH STATUS;
SHOW GLOBAL STATUS LIKE 'com_select';
Value of com_select did not change
Variable_name Value
Com_select 102
SHOW GLOBAL STATUS LIKE 'com_select';
Variable_name Value
Com_select 102
mysql-test/t/not_embedded_server.test
View file @
eee737d8
...
@@ -48,10 +48,16 @@ while ($i)
...
@@ -48,10 +48,16 @@ while ($i)
--
enable_query_log
--
enable_query_log
--
enable_result_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
--
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
;
# 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