mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +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:
@@ -413,7 +413,7 @@ namespace {
|
|||||||
"INNER JOIN " #table_prefix "_option_def_server AS a" \
|
"INNER JOIN " #table_prefix "_option_def_server AS a" \
|
||||||
" ON d.id = a.option_def_id " \
|
" ON d.id = a.option_def_id " \
|
||||||
"INNER JOIN " #table_prefix "_server AS s " \
|
"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__ \
|
"WHERE (s.tag = ? OR s.id = 1) " #__VA_ARGS__ \
|
||||||
" ORDER BY d.id"
|
" ORDER BY d.id"
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user