Fix #856. sql-drop should error when a problem occurs.