Commit 48327373 authored by Razvan Becheriu's avatar Razvan Becheriu

[#637,!349] order pd pools by id in select query

parent 1b232ed1
......@@ -201,7 +201,7 @@ namespace {
"LEFT JOIN dhcp6_options AS y ON y.scope_id = 6 AND d.id = y.pd_pool_id " \
"LEFT JOIN dhcp6_options AS o ON o.scope_id = 1 AND s.subnet_id = o.dhcp6_subnet_id " \
"WHERE (srv.tag = ? OR srv.id = 1) " #__VA_ARGS__ \
" ORDER BY s.subnet_id, p.id, x.option_id, o.option_id"
" ORDER BY s.subnet_id, p.id, d.id, x.option_id, o.option_id"
#endif
#ifndef MYSQL_GET_SHARED_NETWORK4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment