diff options
author | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2022-08-24 12:27:15 +0530 |
---|---|---|
committer | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2022-08-24 12:27:15 +0530 |
commit | 61f456e772cc3d907a3b7881dc4dfb7edc1401d5 (patch) | |
tree | 21be82ba8577978d2b0e90a44098e9d005420f1a | |
parent | dd737d071e1508b4b1441ee7079f5e93de9d2fed (diff) | |
download | mariadb-git-61f456e772cc3d907a3b7881dc4dfb7edc1401d5.tar.gz |
MDEV-29319 Assertion failure size_in_header >= space.free_limit in fsp_get_available_space_in_free_extents()
- Don't remove the constant parameter in fsp_get_available_space_in_free_extents()
-rw-r--r-- | storage/innobase/handler/ha_innodb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc index 1e9c9f03ed1..9ce1915b2cd 100644 --- a/storage/innobase/handler/ha_innodb.cc +++ b/storage/innobase/handler/ha_innodb.cc @@ -14202,7 +14202,7 @@ been acquired by the caller who holds it for the calculation, @param[in] space tablespace object from fil_space_acquire() @return available space in KiB */ static uintmax_t -fsp_get_available_space_in_free_extents(fil_space_t& space) +fsp_get_available_space_in_free_extents(const fil_space_t& space) { ulint size_in_header = space.size_in_header; if (size_in_header < FSP_EXTENT_SIZE) { |