[sql] do not switch to the DB view if only the log_line column is selected

Fixes #78