Skip to content

Commit 852c35f

Browse files
committed
MDEV-11581 follow-up fix: Correct a condition
fsp_fill_free_list(): Correctly determine whether the temporary tablespace file should be extended in order to respond to a page allocation request. The inverted condition was noticed by Thiru when he analyzed MDEV-13013.
1 parent 83b4713 commit 852c35f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/innobase/fsp/fsp0fsp.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*****************************************************************************
22
33
Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved.
4-
Copyright (c) 2017, MariaDB Corporation.
4+
Copyright (c) 2017, 2018, MariaDB Corporation.
55
66
This program is free software; you can redistribute it and/or modify it under
77
the terms of the GNU General Public License as published by the Free Software
@@ -1108,7 +1108,7 @@ fsp_fill_free_list(
11081108
skip_resize = !srv_sys_space.can_auto_extend_last_file();
11091109
break;
11101110
case SRV_TMP_SPACE_ID:
1111-
skip_resize = srv_tmp_space.can_auto_extend_last_file();
1111+
skip_resize = !srv_tmp_space.can_auto_extend_last_file();
11121112
break;
11131113
}
11141114

0 commit comments

Comments
 (0)