diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-02-17 03:50:23 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2021-02-20 17:22:11 +0100 |
commit | be5197a5fe11d93ebce0044179c6f04fa8ff4cbb (patch) | |
tree | 523f77b3c7fde7f254f619f6171a445f95fe73a4 /web/template/header.php | |
parent | d92dd69aa3c23acc7e2e409decf42c3b3e37749c (diff) | |
download | aur-be5197a5fe11d93ebce0044179c6f04fa8ff4cbb.tar.gz aur-be5197a5fe11d93ebce0044179c6f04fa8ff4cbb.tar.xz |
prevent running mysql-specific query in sqlite
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: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/template/header.php')
0 files changed, 0 insertions, 0 deletions