Skip to content

Commit bb22eb5

Browse files
committed
MDEV-8379 - SUSE mariadb patches
Corrected variable name in dead code for consistency. Patch contributed by Michal Hrusecky.
1 parent 727da9c commit bb22eb5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

storage/innobase/row/row0log.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2586,7 +2586,7 @@ row_log_table_apply_ops(
25862586
and be ignored when the operation is unsupported. */
25872587
fallocate(index->online_log->fd,
25882588
FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
2589-
ofs, srv_buf_size);
2589+
ofs, srv_sort_buf_size);
25902590
#endif /* FALLOC_FL_PUNCH_HOLE */
25912591

25922592
next_mrec = index->online_log->head.block;
@@ -3417,7 +3417,7 @@ row_log_apply_ops(
34173417
and be ignored when the operation is unsupported. */
34183418
fallocate(index->online_log->fd,
34193419
FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
3420-
ofs, srv_buf_size);
3420+
ofs, srv_sort_buf_size);
34213421
#endif /* FALLOC_FL_PUNCH_HOLE */
34223422

34233423
next_mrec = index->online_log->head.block;

storage/xtradb/row/row0log.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2584,7 +2584,7 @@ row_log_table_apply_ops(
25842584
and be ignored when the operation is unsupported. */
25852585
fallocate(index->online_log->fd,
25862586
FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
2587-
ofs, srv_buf_size);
2587+
ofs, srv_sort_buf_size);
25882588
#endif /* FALLOC_FL_PUNCH_HOLE */
25892589

25902590
next_mrec = index->online_log->head.block;
@@ -3412,7 +3412,7 @@ row_log_apply_ops(
34123412
and be ignored when the operation is unsupported. */
34133413
fallocate(index->online_log->fd,
34143414
FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
3415-
ofs, srv_buf_size);
3415+
ofs, srv_sort_buf_size);
34163416
#endif /* FALLOC_FL_PUNCH_HOLE */
34173417

34183418
next_mrec = index->online_log->head.block;

0 commit comments

Comments
 (0)