~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/log_event.h

  • Committer: Brian Aker
  • Date: 2008-11-23 00:59:08 UTC
  • Revision ID: brian@tangent.org-20081123005908-yydyfzf60h8cc2zy
Update bits for replication

Show diffs side-by-side

added added

removed removed

Lines of Context:
283
283
#define Q_DATA_OFFSET           QUERY_HEADER_LEN
284
284
/* these are codes, not offsets; not more than 256 values (1 byte). */
285
285
#define Q_FLAGS2_CODE           0
286
 
#define Q_SQL_MODE_CODE         1
287
 
/*
288
 
  Q_CATALOG_CODE is catalog with end zero stored; it is used only by MySQL
289
 
  5.0.x where 0<=x<=3. We have to keep it to be able to replicate these
290
 
  old masters.
291
 
*/
292
 
#define Q_CATALOG_CODE          2
293
 
#define Q_AUTO_INCREMENT        3
294
 
#define Q_CHARSET_CODE          4
295
 
#define Q_TIME_ZONE_CODE        5
296
 
/*
297
 
  Q_CATALOG_NZ_CODE is catalog withOUT end zero stored; it is used by MySQL
298
 
  5.0.x where x>=4. Saves one byte in every Query_log_event in binlog,
299
 
  compared to Q_CATALOG_CODE. The reason we didn't simply re-use
300
 
  Q_CATALOG_CODE is that then a 5.0.3 slave of this 5.0.x (x>=4) master would
301
 
  crash (segfault etc) because it would expect a 0 when there is none.
302
 
*/
303
 
#define Q_CATALOG_NZ_CODE       6
304
286
 
305
287
#define Q_LC_TIME_NAMES_CODE    7
306
288