• Eli Schwartz's avatar
    prevent running mysql-specific query in sqlite · be5197a5
    Eli Schwartz authored and Lukas Fleischer's avatar Lukas Fleischer committed
    We usually guard such queries and have both mysql and sqlite branches.
    But I have not implemented the sqlite branch. Given sqlite is typically
    used for local dev setups, the fact that "users with more than the
    configured max simultaneous logins" can avoid getting some logins
    annulled is probably not a huge risk.
    And this always *used* to fail on sqlite, silently. Now, in php 8, it
    raises PDOException, which prevents running the test server
    Document this as a FIXME for now, until someone reimplements the query
    for sqlite.
    Signed-off-by: default avatarEli Schwartz <eschwartz@archlinux.org>
    Signed-off-by: default avatarLukas Fleischer <lfleischer@archlinux.org>