Skip to content

Commit be4d266

Browse files
committed
Merge 10.5 into 10.6
2 parents ca82169 + 0c7c449 commit be4d266

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

storage/innobase/buf/buf0flu.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -941,10 +941,6 @@ static bool buf_flush_page(buf_page_t *bpage, bool lru, fil_space_t *space)
941941
#if defined HAVE_FALLOC_PUNCH_HOLE_AND_KEEP_SIZE || defined _WIN32
942942
if (size != orig_size && space->punch_hole)
943943
type= lru ? IORequest::PUNCH_LRU : IORequest::PUNCH;
944-
#else
945-
DBUG_EXECUTE_IF("ignore_punch_hole",
946-
if (size != orig_size && space->punch_hole)
947-
type= lru ? IORequest::PUNCH_LRU : IORequest::PUNCH;);
948944
#endif
949945
frame=page;
950946
}

storage/innobase/os/os0file.cc

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3541,13 +3541,6 @@ os_file_set_nocache(
35413541
@return true if the file system supports sparse files */
35423542
IF_WIN(static,) bool os_is_sparse_file_supported(os_file_t fh)
35433543
{
3544-
/* In this debugging mode, we act as if punch hole is supported,
3545-
then we skip any calls to actually punch a hole. In this way,
3546-
Transparent Page Compression is still being tested. */
3547-
DBUG_EXECUTE_IF("ignore_punch_hole",
3548-
return(true);
3549-
);
3550-
35513544
#ifdef _WIN32
35523545
FILE_ATTRIBUTE_TAG_INFO info;
35533546
if (GetFileInformationByHandleEx(fh, FileAttributeTagInfo,
@@ -3798,13 +3791,6 @@ os_file_punch_hole(
37983791
@return DB_SUCCESS or error code */
37993792
dberr_t IORequest::punch_hole(os_offset_t off, ulint len) const
38003793
{
3801-
/* In this debugging mode, we act as if punch hole is supported,
3802-
and then skip any calls to actually punch a hole here.
3803-
In this way, Transparent Page Compression is still being tested. */
3804-
DBUG_EXECUTE_IF("ignore_punch_hole",
3805-
return(DB_SUCCESS);
3806-
);
3807-
38083794
ulint trim_len = bpage ? bpage->physical_size() - len : 0;
38093795

38103796
if (trim_len == 0) {

0 commit comments

Comments
 (0)