in the drush.inc on line 373 $query = "DELETE FROM {$table}" should be changed to $query = "DELETE FROM {{$table}}",otherwise it will make the table prefix replaced fail.
my php version is 5.3.1
there is not only this code should be fixed,but many others.
Comments
Comment #1
moshe weitzman commentedfixed ... please reopen this issue for more occurrences of same bug
Comment #2
weynhamzsame problem in includes/drush.inc on line 330.
Comment #3
moshe weitzman commentedline 330 was fixed already.