~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/include/trx0sys.h

  • Committer: Grant Limberg
  • Date: 2008-08-12 21:13:01 UTC
  • mto: (322.1.1 codestyle)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: grant@glsoftware.net-20080812211301-ym3wsowelkgp16s2
renamed all instances of MYSQL_ to DRIZZLE_

Show diffs side-by-side

added added

removed removed

Lines of Context:
330
330
therefore 256; each slot is currently 8 bytes in size */
331
331
#define TRX_SYS_N_RSEGS         256
332
332
 
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
335
335
 
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)
339
339
 
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
347
 
                                                within that file */
348
 
#define TRX_SYS_MYSQL_LOG_OFFSET_LOW    8       /* low 4 bytes of the offset
349
 
                                                within that file */
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
 
347
                                                within that file */
 
348
#define TRX_SYS_DRIZZLE_LOG_OFFSET_LOW  8       /* low 4 bytes of the offset
 
349
                                                within that file */
 
350
#define TRX_SYS_DRIZZLE_LOG_NAME                12      /* MySQL log file name */
351
351
 
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)