Commit f2204146 authored by unknown's avatar unknown

after-merge fix


sql/table.cc:
  do not attempt to set no_replicate if OPEN_FRM_FILE_ONLY was set
parent 9ce04bc2
......@@ -1878,7 +1878,8 @@ int open_table_from_share(THD *thd, TABLE_SHARE *share, const char *alias,
bzero((char*) bitmaps, bitmap_size*3);
#endif
outparam->no_replicate= test(outparam->file->ha_table_flags() &
outparam->no_replicate= outparam->file &&
test(outparam->file->ha_table_flags() &
HA_HAS_OWN_BINLOGGING);
thd->status_var.opened_tables++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment