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
b367d2fd
Commit
b367d2fd
authored
Jan 29, 2009
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Plain Diff
merged 35396 to 5.0-bugteam
parents
334e249f
37e88536
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
sql/sql_parse.cc
sql/sql_parse.cc
+3
-2
No files found.
sql/sql_parse.cc
View file @
b367d2fd
...
@@ -2333,8 +2333,9 @@ void log_slow_statement(THD *thd)
...
@@ -2333,8 +2333,9 @@ void log_slow_statement(THD *thd)
{
{
thd
->
proc_info
=
"logging slow query"
;
thd
->
proc_info
=
"logging slow query"
;
if
((
ulong
)
(
thd
->
start_time
-
thd
->
time_after_lock
)
>
if
((
thd
->
start_time
>
thd
->
time_after_lock
&&
thd
->
variables
.
long_query_time
||
(
ulong
)
(
thd
->
start_time
-
thd
->
time_after_lock
)
>
thd
->
variables
.
long_query_time
)
||
(
thd
->
server_status
&
(
thd
->
server_status
&
(
SERVER_QUERY_NO_INDEX_USED
|
SERVER_QUERY_NO_GOOD_INDEX_USED
))
&&
(
SERVER_QUERY_NO_INDEX_USED
|
SERVER_QUERY_NO_GOOD_INDEX_USED
))
&&
opt_log_queries_not_using_indexes
&&
opt_log_queries_not_using_indexes
&&
...
...
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