Skip to content

Commit

Permalink
remove redundant config missed in the last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Jan 21, 2019
1 parent 6631b2f commit 607c4a5
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions raddb/mods-config/sql/ippool/mysql/queries.conf
Expand Up @@ -40,7 +40,7 @@
# allocate_clear clears stale IP addresses before processing a new request
#
# The first version clears based on pool_key and thus will only
# clear previous entries for the user requesting and address.
# clear previous entries for the user requesting an address.
#
# The second version clears all stale allocations for the requesting NAS
#
Expand Down Expand Up @@ -110,19 +110,6 @@ allocate_find = "\
# LIMIT 1 \
# FOR UPDATE ${skip_locked}"

#
# The above query again, but with SKIP LOCKED. This requires MySQL >= 8.0.1,
# and InnoDB.
#
#allocate_find = "\
# SELECT framedipaddress FROM ${ippool_table} \
# WHERE pool_name = '%{control:${pool_name}}' \
# AND expiry_time IS NULL \
# ORDER BY \
# RAND() \
# LIMIT 1 \
# FOR UPDATE SKIP LOCKED"

#
# pool_check allows the module to differentiate between a full pool
# and no pool when an IP address could not be allocated so an appropriate
Expand Down

0 comments on commit 607c4a5

Please sign in to comment.