Skip to content
Permalink
Browse files
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.
  • Loading branch information
dr-m committed Feb 19, 2018
1 parent 83b4713 commit 852c35f
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1,7 +1,7 @@
/*****************************************************************************
Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2017, MariaDB Corporation.
Copyright (c) 2017, 2018, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -1108,7 +1108,7 @@ fsp_fill_free_list(
skip_resize = !srv_sys_space.can_auto_extend_last_file();
break;
case SRV_TMP_SPACE_ID:
skip_resize = srv_tmp_space.can_auto_extend_last_file();
skip_resize = !srv_tmp_space.can_auto_extend_last_file();
break;
}

0 comments on commit 852c35f

Please sign in to comment.