1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merge bk-internal:/home/bk/mysql-5.1-marvel

into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build-marvel-engines
This commit is contained in:
df@pippilotta.erinye.com
2007-08-03 17:15:23 +02:00
98 changed files with 1226 additions and 589 deletions

View File

@ -3467,8 +3467,7 @@ namespace {
if (table->s->cached_row_logging_check == -1)
{
int const check(table->s->tmp_table == NO_TMP_TABLE &&
binlog_filter->db_ok(table->s->db.str) &&
!table->no_replicate);
binlog_filter->db_ok(table->s->db.str));
table->s->cached_row_logging_check= check;
}
@ -3476,9 +3475,9 @@ namespace {
table->s->cached_row_logging_check == 1);
return (thd->current_stmt_binlog_row_based &&
table->s->cached_row_logging_check &&
(thd->options & OPTION_BIN_LOG) &&
mysql_bin_log.is_open() &&
table->s->cached_row_logging_check);
mysql_bin_log.is_open());
}
}
@ -3556,7 +3555,7 @@ namespace
const uchar *before_record,
const uchar *after_record)
{
if (table->file->ha_table_flags() & HA_HAS_OWN_BINLOGGING)
if (table->no_replicate)
return 0;
bool error= 0;
THD *const thd= table->in_use;