提交 6f443e9d 编写于 作者: O obdev 提交者: wangzelin.wzl

bugfix: total_size in __all_virtual_disk_stat table should use...

bugfix: total_size in __all_virtual_disk_stat table should use datafile_maxsize when auto extend is on
上级 3ff5fb98
...@@ -87,7 +87,7 @@ int ObInfoSchemaDiskStatTable::inner_get_next_row(ObNewRow*& row) ...@@ -87,7 +87,7 @@ int ObInfoSchemaDiskStatTable::inner_get_next_row(ObNewRow*& row)
} }
case TOTAL_SIZE: { case TOTAL_SIZE: {
cells[cell_idx].set_int( cells[cell_idx].set_int(
OB_FILE_SYSTEM.get_total_macro_block_count() * OB_FILE_SYSTEM.get_macro_block_size()); OB_FILE_SYSTEM.get_total_macro_block_max_count() * OB_FILE_SYSTEM.get_macro_block_size());
break; break;
} }
case USED_SIZE: { case USED_SIZE: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册