Description:
he error messages in os_file_write_page() has been converted from C-style (fprintf()) to C++ Style (ib::errror() <<..")
There is left over "%d" in the message and error messages are shows it. For example:
2015-08-21T07:50:44.109462Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2015-08-21T07:50:44.109529Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2015-08-21T07:50:44.112400Z 0 [Warning] InnoDB: 4194304 bytes should have been written. Only 212992 bytes written. Retrying for the remaining bytes.
2015-08-21T07:50:44.112426Z 0 [Warning] InnoDB: Retry attempts for writing partial data failed.
2015-08-21T07:50:44.112438Z 0 [ERROR] InnoDB: Write to file ./ibtmp1failed at offset 0.4194304 bytes should have been written, only 212992 were written. Operating system error number 28. Check that your OS and file system support files of this size. Check also that the disk is not full or a disk quota exceeded.
2015-08-21T07:50:44.112474Z 0 [ERROR] InnoDB: Error number 28%d means 'No space left on device'
2015-08-21T07:50:44.112486Z 0 [Note] InnoDB: Some operating system error numbers are described at http://dev.mysql.com/doc/refman/5.8/en/operating-system-error-codes.html
2015-08-21T07:50:44.112920Z 0 [ERROR] InnoDB: Could not set the file size of './ibtmp1'. Probably out of disk space
2015-08-21T07:50:44.112942Z 0 [ERROR] InnoDB: Unable to create the shared innodb_temporary
2015-08-21T07:50:44.112959Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2015-08-21T07:50:44.714344Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2015-08-21T07:50:44.714379Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2015-08-21T07:50:44.714388Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2015-08-21T07:50:44.714398Z 0 [ERROR] Failed to initialize plugins.
2015-08-21T07:50:44.714403Z 0 [ERROR] Aborting
2015-08-21T07:50:44.714419Z 0 [Note] Binlog end
2015-08-21T07:50:44.714530Z 0 [Note] Shutting down plugin 'CSV'
Also, there's an unnecessary use of '.' after displaying the offset value.
How to repeat:
read os_file_write_page()