File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -393,19 +393,19 @@ SysTablespace::set_size(
393
393
Datafile& file)
394
394
{
395
395
ut_ad (!srv_read_only_mode || m_ignore_read_only);
396
+ const ib::bytes_iec b{uint64_t {file.m_size } << srv_page_size_shift};
396
397
397
398
/* We created the data file and now write it full of zeros */
398
- ib::info () << " Setting file '" << file.filepath () << " ' size to "
399
- << ib::bytes_iec{file.m_size << srv_page_size_shift} <<
400
- " . Physically writing the file full; Please wait ..." ;
399
+ ib::info () << " Setting file '" << file.filepath () << " ' size to " << b
400
+ << " . Physically writing the file full; Please wait ..." ;
401
401
402
402
bool success = os_file_set_size (
403
403
file.m_filepath , file.m_handle ,
404
404
static_cast <os_offset_t >(file.m_size ) << srv_page_size_shift);
405
405
406
406
if (success) {
407
407
ib::info () << " File '" << file.filepath () << " ' size is now "
408
- << ib::bytes_iec{file. m_size << srv_page_size_shift}
408
+ << b
409
409
<< " ." ;
410
410
} else {
411
411
ib::error () << " Could not set the file size of '"
You can’t perform that action at this time.
0 commit comments