sql load parses options incorrectly
bdwelle - June 6, 2009 - 01:21
| Project: | Drush |
| Version: | All-Versions-HEAD |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I believe there is a bug in sql_load which causes the --source_database and --destination_database options not to work. It appears that the code confuses "source", "destination", and "target" -- "target" being some new concept from v7. Since I'm not running D7 I can't account for that, but the attached patch fixes sql_load D6.
| Attachment | Size |
|---|---|
| sql.drush_.inc_.patch | 1.15 KB |

#1
#2
there are no source_database and destination_database options. where do you see that?
#3
#4
Those options are in // $Id: sql.drush.inc,v 1.17 2009/05/11 20:53:10 weitzman Exp $
#5
All ths code has changed, and sql load close to removal anyway.