330
330
therefore 256; each slot is currently 8 bytes in size */
331
331
#define TRX_SYS_N_RSEGS 256
333
#define TRX_SYS_MYSQL_LOG_NAME_LEN 512
334
#define TRX_SYS_MYSQL_LOG_MAGIC_N 873422344
333
#define TRX_SYS_DRIZZLE_LOG_NAME_LEN 512
334
#define TRX_SYS_DRIZZLE_LOG_MAGIC_N 873422344
336
336
/* The offset of the MySQL replication info in the trx system header;
337
this contains the same fields as TRX_SYS_MYSQL_LOG_INFO below */
338
#define TRX_SYS_MYSQL_MASTER_LOG_INFO (UNIV_PAGE_SIZE - 2000)
337
this contains the same fields as TRX_SYS_DRIZZLE_LOG_INFO below */
338
#define TRX_SYS_DRIZZLE_MASTER_LOG_INFO (UNIV_PAGE_SIZE - 2000)
340
340
/* The offset of the MySQL binlog offset info in the trx system header */
341
#define TRX_SYS_MYSQL_LOG_INFO (UNIV_PAGE_SIZE - 1000)
342
#define TRX_SYS_MYSQL_LOG_MAGIC_N_FLD 0 /* magic number which shows
341
#define TRX_SYS_DRIZZLE_LOG_INFO (UNIV_PAGE_SIZE - 1000)
342
#define TRX_SYS_DRIZZLE_LOG_MAGIC_N_FLD 0 /* magic number which shows
343
343
if we have valid data in the
344
344
MySQL binlog info; the value
345
345
is ..._MAGIC_N if yes */
346
#define TRX_SYS_MYSQL_LOG_OFFSET_HIGH 4 /* high 4 bytes of the offset
348
#define TRX_SYS_MYSQL_LOG_OFFSET_LOW 8 /* low 4 bytes of the offset
350
#define TRX_SYS_MYSQL_LOG_NAME 12 /* MySQL log file name */
346
#define TRX_SYS_DRIZZLE_LOG_OFFSET_HIGH 4 /* high 4 bytes of the offset
348
#define TRX_SYS_DRIZZLE_LOG_OFFSET_LOW 8 /* low 4 bytes of the offset
350
#define TRX_SYS_DRIZZLE_LOG_NAME 12 /* MySQL log file name */
352
352
/* The offset of the doublewrite buffer header on the trx system header page */
353
353
#define TRX_SYS_DOUBLEWRITE (UNIV_PAGE_SIZE - 200)