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
3ecef8c0
Commit
3ecef8c0
authored
Aug 08, 2007
by
kostja@bodhi.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A fix for Bug#28830 Test case log_state fails on VMWare Windows clone due to loaded system
parent
a3b210d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/r/log_state.result
mysql-test/r/log_state.result
+2
-2
mysql-test/t/log_state.test
mysql-test/t/log_state.test
+2
-2
No files found.
mysql-test/r/log_state.result
View file @
3ecef8c0
...
...
@@ -37,14 +37,14 @@ set session long_query_time=1;
select sleep(2);
sleep(2)
0
select * from mysql.slow_log;
select * from mysql.slow_log
where sql_text NOT LIKE '%slow_log%'
;
start_time user_host query_time lock_time rows_sent rows_examined db last_insert_id insert_id server_id sql_text
set global slow_query_log= ON;
set session long_query_time=1;
select sleep(2);
sleep(2)
0
select * from mysql.slow_log;
select * from mysql.slow_log
where sql_text NOT LIKE '%slow_log%'
;
start_time user_host query_time lock_time rows_sent rows_examined db last_insert_id insert_id server_id sql_text
TIMESTAMP USER_HOST QUERY_TIME 00:00:00 1 0 test 0 0 1 select sleep(2)
show global variables
...
...
mysql-test/t/log_state.test
View file @
3ecef8c0
...
...
@@ -28,7 +28,7 @@ connection con1;
set
session
long_query_time
=
1
;
select
sleep
(
2
);
--
replace_column
1
TIMESTAMP
2
USER_HOST
3
QUERY_TIME
select
*
from
mysql
.
slow_log
;
select
*
from
mysql
.
slow_log
where
sql_text
NOT
LIKE
'%slow_log%'
;
connection
default
;
set
global
slow_query_log
=
ON
;
...
...
@@ -36,7 +36,7 @@ connection con1;
set
session
long_query_time
=
1
;
select
sleep
(
2
);
--
replace_column
1
TIMESTAMP
2
USER_HOST
3
QUERY_TIME
select
*
from
mysql
.
slow_log
;
select
*
from
mysql
.
slow_log
where
sql_text
NOT
LIKE
'%slow_log%'
;
connection
default
;
show
global
variables
where
Variable_name
=
'log'
or
Variable_name
=
'log_slow_queries'
or
...
...
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