]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
add "SELECT true" as fail-over for on/off queries
authorAlan T. DeKok <aland@freeradius.org>
Fri, 6 Nov 2020 16:00:17 +0000 (11:00 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 6 Nov 2020 16:00:17 +0000 (11:00 -0500)
commit42229e776e3d7cc9bf07fa2e8dde3679ea8b3c92
tree6ba394012a0127cc5c719c2c00151657d61a1ea4
parent8a734904dbf37fcf0c1311eb427fc9a9a3bbc9e1
add "SELECT true" as fail-over for on/off queries

If there are no rows to update, then the on/off queries will
return "no rows updated".  The server will then fail over to the
next query, which says "that's fine"
raddb/mods-config/sql/main/mssql/queries.conf
raddb/mods-config/sql/main/mysql/queries.conf
raddb/mods-config/sql/main/postgresql/queries.conf
raddb/mods-config/sql/main/sqlite/queries.conf