Main Code Files MySQL

These file are all in the sql directory:

  • log.cc: creating/writing/deleting a binlog.
  • log_event.*: all event types and their methods.
  • slave.*: all the slave threads' code.
  • sql_repl.*: all SQL commands related to replication (START SLAVE, CHANGE MASTER TO). Also all the master's high-level code about replication (binlog sending, a.k.a.COM_BINLOG_DUMP). For example, binlog sending code is in sql_repl.cc, but uses low-level commands (single event reading) which are in log_event.cc.
  • repl_failsafe.*: unfinished code about failsafe (master election if the primary master fails).This file will probably be heavily reworked. Presently it's almost unused.


Face Book Twitter Google Plus Instagram Youtube Linkedin Myspace Pinterest Soundcloud Wikipedia

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

MySQL Topics