Loading sql/handler.cc +12 −7 Original line number Diff line number Diff line Loading @@ -2794,7 +2794,11 @@ bool ha_show_status(THD *thd, handlerton *db_type, enum ha_stat_type stat) */ #ifdef HAVE_ROW_BASED_REPLICATION static bool check_table_binlog_row_based(THD *thd, TABLE *table) /* The Sun compiler cannot instantiate the template below if this is declared static, but it works by putting it into an anonymous namespace. */ namespace { bool check_table_binlog_row_based(THD *thd, TABLE *table) { return binlog_row_based && Loading @@ -2802,6 +2806,7 @@ static bool check_table_binlog_row_based(THD *thd, TABLE *table) (table->s->tmp_table == NO_TMP_TABLE) && binlog_filter->db_ok(table->s->db.str); } } template<class RowsEventT> int binlog_log_row(TABLE* table, const byte *before_record, Loading Loading
sql/handler.cc +12 −7 Original line number Diff line number Diff line Loading @@ -2794,7 +2794,11 @@ bool ha_show_status(THD *thd, handlerton *db_type, enum ha_stat_type stat) */ #ifdef HAVE_ROW_BASED_REPLICATION static bool check_table_binlog_row_based(THD *thd, TABLE *table) /* The Sun compiler cannot instantiate the template below if this is declared static, but it works by putting it into an anonymous namespace. */ namespace { bool check_table_binlog_row_based(THD *thd, TABLE *table) { return binlog_row_based && Loading @@ -2802,6 +2806,7 @@ static bool check_table_binlog_row_based(THD *thd, TABLE *table) (table->s->tmp_table == NO_TMP_TABLE) && binlog_filter->db_ok(table->s->db.str); } } template<class RowsEventT> int binlog_log_row(TABLE* table, const byte *before_record, Loading