In trying to use both the --structure-tables-key and --skip-tables-key arguments, I noticed that the tables data was not ignored. In researching the problem using -v, it was determined that all of the database tables were specified as .
instead of .
. Looking at sql.drush.inc, it looks like the $database variable is set prior to db_spec being loaded for the mysql (or pgsql). Therefore, it is null.
I've included a patch (it may be rough so go easy on me) that solves the problem. May be worth removing the $database assignment earlier in code.
| Comment | File | Size | Author |
|---|---|---|---|
| drush_sqldump_ignore.patch | 558 bytes | lucidus_neil |
Comments
Comment #1
moshe weitzman commentedWas fixed a week ago or so