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
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.

AttachmentSize
sql.drush_.inc_.patch1.15 KB

#1

bdwelle - June 6, 2009 - 02:08
Assigned to:bdwelle» Anonymous

#2

moshe weitzman - June 6, 2009 - 18:18
Status:needs review» needs work

there are no source_database and destination_database options. where do you see that?

#3

moshe weitzman - June 9, 2009 - 02:36
Priority:critical» normal
Status:needs work» postponed (maintainer needs more info)

#4

bdwelle - July 4, 2009 - 05:05

Those options are in // $Id: sql.drush.inc,v 1.17 2009/05/11 20:53:10 weitzman Exp $

#5

moshe weitzman - October 30, 2009 - 20:55
Status:postponed (maintainer needs more info)» closed

All ths code has changed, and sql load close to removal anyway.

 
 

Drupal is a registered trademark of Dries Buytaert.