~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/rpl_rli.h

  • Committer: Brian Aker
  • Date: 2008-10-06 20:34:36 UTC
  • Revision ID: brian@tangent.org-20081006203436-4yqpjjgw9kdvq9b4
No need for charsets in replication code (we only have one now).

Show diffs side-by-side

added added

removed removed

Lines of Context:
237
237
    UNTIL_LOG_NAMES_CMP_EQUAL= 0, UNTIL_LOG_NAMES_CMP_GREATER= 1
238
238
  } until_log_names_cmp_result;
239
239
 
240
 
  char cached_charset[6];
241
240
  /*
242
241
    trans_retries varies between 0 to slave_transaction_retries and counts how
243
242
    many times the slave has retried the present transaction; gets reset to 0
314
313
    return (td);
315
314
  }
316
315
 
317
 
  /*
318
 
    Last charset (6 bytes) seen by slave SQL thread is cached here; it helps
319
 
    the thread save 3 get_charset() per Query_log_event if the charset is not
320
 
    changing from event to event (common situation).
321
 
    When the 6 bytes are equal to 0 is used to mean "cache is invalidated".
322
 
  */
323
 
  void cached_charset_invalidate();
324
 
  bool cached_charset_compare(char *charset) const;
325
 
 
326
316
  void cleanup_context(THD *, bool);
327
317
  void clear_tables_to_lock();
328
318