MDEV-8379 - SUSE mariadb patches

Corrected variable name in dead code for consistency.

Patch contributed by Michal Hrusecky.
This commit is contained in:
Sergey Vojtovich 2015-10-01 13:40:23 +04:00
parent 727da9c8ec
commit bb22eb55db
2 changed files with 4 additions and 4 deletions

View File

@ -2586,7 +2586,7 @@ all_done:
and be ignored when the operation is unsupported. */
fallocate(index->online_log->fd,
FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
ofs, srv_buf_size);
ofs, srv_sort_buf_size);
#endif /* FALLOC_FL_PUNCH_HOLE */
next_mrec = index->online_log->head.block;
@ -3417,7 +3417,7 @@ all_done:
and be ignored when the operation is unsupported. */
fallocate(index->online_log->fd,
FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
ofs, srv_buf_size);
ofs, srv_sort_buf_size);
#endif /* FALLOC_FL_PUNCH_HOLE */
next_mrec = index->online_log->head.block;

View File

@ -2584,7 +2584,7 @@ all_done:
and be ignored when the operation is unsupported. */
fallocate(index->online_log->fd,
FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
ofs, srv_buf_size);
ofs, srv_sort_buf_size);
#endif /* FALLOC_FL_PUNCH_HOLE */
next_mrec = index->online_log->head.block;
@ -3412,7 +3412,7 @@ all_done:
and be ignored when the operation is unsupported. */
fallocate(index->online_log->fd,
FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
ofs, srv_buf_size);
ofs, srv_sort_buf_size);
#endif /* FALLOC_FL_PUNCH_HOLE */
next_mrec = index->online_log->head.block;