LBCORE-218 Incorrect switch fallthrough in the SQL dialect selection

See http://jira.qos.ch/browse/LBCORE-218