mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-29 13:07:50 +00:00
[#1928] Use qualified column name in query
This commit is contained in:
parent
c38c2f21b6
commit
7fa1447e1e
@ -3206,7 +3206,7 @@ proc_label:BEGIN
|
||||
SELECT o.order_index FROM dhcp4_client_class AS c
|
||||
INNER JOIN dhcp4_client_class_order AS o
|
||||
ON c.id = o.class_id
|
||||
WHERE name = follow_class_name
|
||||
WHERE c.name = follow_class_name
|
||||
);
|
||||
IF follow_class_index IS NULL THEN
|
||||
-- The class with a name specified with follow_class_name does
|
||||
@ -3666,7 +3666,7 @@ proc_label:BEGIN
|
||||
SELECT o.order_index FROM dhcp6_client_class AS c
|
||||
INNER JOIN dhcp6_client_class_order AS o
|
||||
ON c.id = o.class_id
|
||||
WHERE name = follow_class_name
|
||||
WHERE c.name = follow_class_name
|
||||
);
|
||||
IF follow_class_index IS NULL THEN
|
||||
-- The class with a name specified with follow_class_name does
|
||||
|
@ -154,7 +154,7 @@ proc_label:BEGIN
|
||||
SELECT o.order_index FROM dhcp4_client_class AS c
|
||||
INNER JOIN dhcp4_client_class_order AS o
|
||||
ON c.id = o.class_id
|
||||
WHERE name = follow_class_name
|
||||
WHERE c.name = follow_class_name
|
||||
);
|
||||
IF follow_class_index IS NULL THEN
|
||||
-- The class with a name specified with follow_class_name does
|
||||
@ -614,7 +614,7 @@ proc_label:BEGIN
|
||||
SELECT o.order_index FROM dhcp6_client_class AS c
|
||||
INNER JOIN dhcp6_client_class_order AS o
|
||||
ON c.id = o.class_id
|
||||
WHERE name = follow_class_name
|
||||
WHERE c.name = follow_class_name
|
||||
);
|
||||
IF follow_class_index IS NULL THEN
|
||||
-- The class with a name specified with follow_class_name does
|
||||
|
Loading…
x
Reference in New Issue
Block a user