In the source: drush/commands/sql/sql.drush.inc
at line 184: $ignores[] = "--ignore-table=$database.$table";
the variable $database is empty at this point and creates wrong --ignore-table statements
like e.g.: --ignore-table=.cache

Temporary fix:
Move line 167: $database = $db_spec['database'];
after line 172 to fill $database correctly.

Comments

wrunt’s picture

I can confirm this bug, and the fix given is the same one I made to make this work.

grendzy’s picture

Status: Active » Closed (fixed)

I ran into this also; it seems to be fixed in the latest HEAD.

grendzy’s picture