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
b6c0ed99
Commit
b6c0ed99
authored
Nov 15, 2011
by
Luis Soares
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#11760927
Follow up to fix freebsd compile issue.
parent
5b6ef134
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/log_event.cc
sql/log_event.cc
+2
-2
No files found.
sql/log_event.cc
View file @
b6c0ed99
...
...
@@ -9285,7 +9285,7 @@ void issue_long_find_row_warning(Log_event_type type,
DBUG_EXECUTE_IF
(
"inject_long_find_row_note"
,
stmt_ts
-=
(
LONG_FIND_ROW_THRESHOLD
*
2
););
time_t
delta
=
(
now
-
stmt_ts
);
long
delta
=
(
long
)
(
now
-
stmt_ts
);
if
(
delta
>
LONG_FIND_ROW_THRESHOLD
)
{
...
...
@@ -9295,7 +9295,7 @@ void issue_long_find_row_warning(Log_event_type type,
sql_print_information
(
"The slave is applying a ROW event on behalf of a%s statement "
"on table %s and is currently taking a considerable amount "
"of time (%l
u
seconds). This is due to the fact that it is %s "
"of time (%l
d
seconds). This is due to the fact that it is %s "
"while looking up records to be processed. Consider adding a "
"primary key (or unique key) to the table to improve "
"performance."
,
evt_type
,
table_name
,
delta
,
scan_type
);
...
...
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