Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.4
-
Fix Version/s: 4.5
-
Component/s: Drupal Integration Modules
-
Labels:None
Description
I'm new to civicrm, but it appears the drush sql commands dont work, at least with drush 6.
I've given an example of the change that I have tested to fix this. Essentially, not returning the drush_sql_command result causes nothing to get printed.
/**
- Implementation of drush_hook_COMMAND_validate for command 'civicrm-sql-connect'
*/
function drush_civicrm_pre_civicrm_sql_connect() { _civicrm_dsn_init(); }
/**
- Implementation of command 'civicrm-sql-connect'
*/
function drush_civicrm_sqlconnect() { return drush_sql_connect(); }
function drush_civicrm_post_civicrm_sql_connect()
{ _civicrm_dsn_close(); }