Bug #73872 Provide a mechanism to print the file segment header into a C++ stream

Submitted: 10 Sep 2014 8:44 Modified: 24 Oct 2014 17:46
Reporter: Annamalai Gurusami Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S4 (Feature request)
Version:5.7 OS:Any
Assigned to: CPU Architecture:Any

[10 Sep 2014 8:44] Annamalai Gurusami
Description:
The file segment header (fseg_header_t) contains 3 members:

typedef byte    fseg_header_t;

#define FSEG_HDR_SPACE          0       /*!< space id of the inode */
#define FSEG_HDR_PAGE_NO        4       /*!< page number of the inode */
#define FSEG_HDR_OFFSET         8       /*!< byte offset of the inode */

#define FSEG_HEADER_SIZE        10      /*!< Length of the file system
                                        header, in bytes */

Provide a mechanism to print it into a C++ steam as follows:

fseg_header_t*	fseg_header;
std::cout << fseg_header_print(fseg_header) << std::endl;

How to repeat:
See Above.
[24 Oct 2014 17:46] Daniel Price
The patch has been removed. No changelog entry required.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.