It depends on the replication configuration. The two [Replication Formats][1] are Statement-based Replication and Row-Based Replication. 

The default is `Statement-Based` logging,

If the [Statement-Based Replication][2] is used, the master writes SQL statements to the binary log and the SQL statements are executed on the slave.

In the case of [Row-Based Replcation][3], the master writes events to the binary log that indicate how individual tables rows are changed. These events are then copied to the slave.

Another format is [Mixed-Based Replication][4]. MySQL replication can also be configured to use a mix of both Statement and Row-Based logging. Statement-based log is used by default, but depending on certain statements, the log is automatically changed to row-based.

Refer to [binlog_format][5], to configure the logging format and for [binary log setting][6] more information.


  [1]: http://dev.mysql.com/doc/refman/5.7/en/replication-formats.html
  [2]: https://dev.mysql.com/doc/refman/5.7/en/replication-sbr-rbr.html#replication-sbr-rbr-sbr-advantages
  [3]: https://dev.mysql.com/doc/refman/5.7/en/replication-sbr-rbr.html#replication-sbr-rbr-rbr-advantages
  [4]: http://dev.mysql.com/doc/refman/5.7/en/binary-log-mixed.html
  [5]: http://dev.mysql.com/doc/refman/5.7/en/replication-options-binary-log.html#sysvar_binlog_format
  [6]: http://dev.mysql.com/doc/refman/5.7/en/binary-log-setting.html