In function drush_sql_build_dump_command

The following operation is wrong (union of arrays):

$skip_tables += $structure_tables;

It should be this instead (merging arrays):

$skip_tables = array_merge ($structure_tables, $skip_tables);

I noticed the problem because the dump size was much larger than expected -- it was first dumping the data of the structure-only tables, then at the end dropping these tables to re-create them without data.

Comments

greg.1.anderson’s picture

Assigned: Unassigned » greg.1.anderson
moshe weitzman’s picture

Status: Active » Fixed

fixed. thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.