libdb: add one more character to ignore in sql_check