• Sergei Golubchik's avatar
    BUG#13627921 - MISSING FLAGS IN SQL_COMMAND_FLAGS MAY LEAD TO REPLICATION PROBLEMS · 75908fc4
    Sergei Golubchik authored
    merge from MySQL-5.6, revision:
    
    revno: 3677.2.1
    committer: Alfranio Correia <alfranio.correia@oracle.com>
    timestamp: Tue 2012-02-28 16:26:37 +0000
    message:
      BUG#13627921 - MISSING FLAGS IN SQL_COMMAND_FLAGS MAY LEAD TO REPLICATION PROBLEMS
    
      Flags in sql_command_flags[command] are not correctly set for the following
      commands:
    
        . SQLCOM_SET_OPTION is missing CF_CAN_GENERATE_ROW_EVENTS;
        . SQLCOM_BINLOG_BASE64_EVENT is missing CF_CAN_GENERATE_ROW_EVENTS;
        . SQLCOM_REVOKE_ALL is missing CF_CHANGES_DATA;
        . SQLCOM_CREATE_FUNCTION is missing CF_AUTO_COMMIT_TRANS;
    
      This may lead to a wrong sequence of events in the binary log. To fix
      the problem, we correctly set the flags in sql_command_flags[command].
    75908fc4
log_event.cc 407 KB