2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-02 23:15:20 +00:00

[#2869] Added count statements

This commit is contained in:
Francis Dupont
2023-05-25 00:28:45 +02:00
parent 400ca653c0
commit 592e913a26
4 changed files with 18 additions and 0 deletions

View File

@@ -511,6 +511,10 @@ tagged_statements = { {
"WHERE remote_id = ? AND lease_addr BETWEEN ? AND ? "
"ORDER BY lease_addr "
"LIMIT ?"},
{MySqlLeaseMgr::COUNT_RELAY_ID6,
"SELECT COUNT(*) FROM lease6_relay_id"},
{MySqlLeaseMgr::COUNT_REMOTE_ID6,
"SELECT COUNT(*) FROM lease6_remote_id"},
} }; // tagged_statements
} // namespace