2
0
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:
Marcin Siodelski 2021-07-20 12:20:02 +02:00
parent c38c2f21b6
commit 7fa1447e1e
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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