drush-ops/drush — pull request #1005 by weitzman (2014-11-21 15:49:59+00:00)
Title: Internal calls to query() in sql commands should run even in --simulate ...

Currently, `sql-dump --simulate` does not work properly as table selection queries do not run (because we are in simulate mode). That can be fixed in an ugly way by this PR or perhaps we should just use drush_invoke_process() with override-simulated backend option instead. My annoyance with that approach is that you have to decide whether or not to $integrate the log for the backend call. I wish we could integrate only in the case of errors. Because usually, $integrate just adds noise.