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

[737-remote-option-def4-get-all-return-incorrect-tag-when-option-definition-is-configured-with-all] Fixed option def get all query

This commit is contained in:
Francis Dupont 2019-07-17 00:45:53 +02:00
parent 92d7501124
commit 1cc95ae2a6

View File

@ -413,7 +413,7 @@ namespace {
"INNER JOIN " #table_prefix "_option_def_server AS a" \
" ON d.id = a.option_def_id " \
"INNER JOIN " #table_prefix "_server AS s " \
" ON (a.server_id = s.id) OR (a.server_id = 1) " \
" ON a.server_id = s.id " \
"WHERE (s.tag = ? OR s.id = 1) " #__VA_ARGS__ \
" ORDER BY d.id"
#endif