2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[#897] Addressed comments

This commit is contained in:
Francis Dupont
2019-12-10 19:37:22 +01:00
parent 6c785d6c5f
commit b1fb6811ff
16 changed files with 137 additions and 117 deletions

View File

@@ -174,8 +174,9 @@ tagged_statements = { {
"fqdn_fwd, fqdn_rev, hostname, "
"state, user_context "
"FROM lease4 "
"WHERE state != ? AND expire < ?"
" AND valid_lifetime != 4294967295 "
"WHERE state != ?"
" AND valid_lifetime != 4294967295"
" AND expire < ? "
"ORDER BY expire ASC "
"LIMIT ?"},
{MySqlLeaseMgr::GET_LEASE6,
@@ -260,8 +261,9 @@ tagged_statements = { {
"hwaddr, hwtype, hwaddr_source, "
"state, user_context "
"FROM lease6 "
"WHERE state != ? AND expire < ?"
" AND valid_lifetime != 4294967295 "
"WHERE state != ?"
" AND valid_lifetime != 4294967295"
" AND expire < ? "
"ORDER BY expire ASC "
"LIMIT ?"},
{MySqlLeaseMgr::INSERT_LEASE4,