Someone had an issue because SQLite failed to optimize the following query
    select * from t where x = 'x' or '' = 'x'