summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorTimothy Smith <timothy.smith@sun.com>2008-08-19 18:29:46 -0600
committerTimothy Smith <timothy.smith@sun.com>2008-08-19 18:29:46 -0600
commite68520c75200ed9c22a27c18da113af2522ce65a (patch)
treec084ab7abe3091e9bb3f42e3b05ad5671218a62c /storage
parentbbb45c158fafd6409f4357751a8a4083c0ccce74 (diff)
downloadmariadb-git-e68520c75200ed9c22a27c18da113af2522ce65a.tar.gz
Cherry-pick one part of innodb-5.1-ss2438 snapshot.
Bug #36278 Data_free in SHOW TABLE STATUS for InnoDB is in kilobytes Change the fix for Bug 32440 to show bytes instead of kilobytes in INFORMATION_SCHEMA.TABLES.DATA_FREE.
Diffstat (limited to 'storage')
-rw-r--r--storage/innobase/handler/ha_innodb.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc
index 28221f921ef..23204cb68ef 100644
--- a/storage/innobase/handler/ha_innodb.cc
+++ b/storage/innobase/handler/ha_innodb.cc
@@ -5792,7 +5792,7 @@ ha_innobase::info(
* UNIV_PAGE_SIZE;
stats.delete_length =
fsp_get_available_space_in_free_extents(
- ib_table->space);
+ ib_table->space) * 1024;
stats.check_time = 0;
if (stats.records == 0) {