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
87abfe06
Commit
87abfe06
authored
Jan 06, 2008
by
hezx@mail.hezx.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace one overlooked return with DBUG_RETURN in function log_loaded_block
parent
e2676d0f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/sql_repl.cc
sql/sql_repl.cc
+1
-1
No files found.
sql/sql_repl.cc
View file @
87abfe06
...
@@ -1578,7 +1578,7 @@ int log_loaded_block(IO_CACHE* file)
...
@@ -1578,7 +1578,7 @@ int log_loaded_block(IO_CACHE* file)
lf_info
=
(
LOAD_FILE_INFO
*
)
file
->
arg
;
lf_info
=
(
LOAD_FILE_INFO
*
)
file
->
arg
;
if
(
lf_info
->
last_pos_in_file
!=
HA_POS_ERROR
&&
if
(
lf_info
->
last_pos_in_file
!=
HA_POS_ERROR
&&
lf_info
->
last_pos_in_file
>=
my_b_get_pos_in_file
(
file
))
lf_info
->
last_pos_in_file
>=
my_b_get_pos_in_file
(
file
))
return
0
;
DBUG_RETURN
(
0
)
;
for
(
block_len
=
my_b_get_bytes_in_buffer
(
file
);
block_len
>
0
;
for
(
block_len
=
my_b_get_bytes_in_buffer
(
file
);
block_len
>
0
;
buffer
+=
min
(
block_len
,
max_event_size
),
buffer
+=
min
(
block_len
,
max_event_size
),
...
...
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