Adds comment for magic number and constant for maxlen 173
This commit is contained in:
parent
629214f32f
commit
bb18d71995
@ -10,10 +10,10 @@ DECLARE
|
|||||||
ident TEXT;
|
ident TEXT;
|
||||||
i INTEGER;
|
i INTEGER;
|
||||||
origident TEXT;
|
origident TEXT;
|
||||||
maxlen INTEGER;
|
|
||||||
BEGIN
|
|
||||||
maxlen := 63;
|
|
||||||
|
|
||||||
|
maxlen CONSTANT integer := 63;
|
||||||
|
BEGIN
|
||||||
|
-- Accounts for the _XX incremental suffix in case the identifier is taken
|
||||||
usedspace := 3;
|
usedspace := 3;
|
||||||
usedspace := usedspace + coalesce(octet_length(prefix), 0);
|
usedspace := usedspace + coalesce(octet_length(prefix), 0);
|
||||||
usedspace := usedspace + coalesce(octet_length(suffix), 0);
|
usedspace := usedspace + coalesce(octet_length(suffix), 0);
|
||||||
@ -68,10 +68,10 @@ DECLARE
|
|||||||
ident TEXT;
|
ident TEXT;
|
||||||
i INTEGER;
|
i INTEGER;
|
||||||
origident TEXT;
|
origident TEXT;
|
||||||
maxlen INTEGER;
|
|
||||||
BEGIN
|
|
||||||
maxlen := 63;
|
|
||||||
|
|
||||||
|
maxlen CONSTANT integer := 63;
|
||||||
|
BEGIN
|
||||||
|
-- Accounts for the _XX incremental suffix in case the identifier is taken
|
||||||
usedspace := 3;
|
usedspace := 3;
|
||||||
usedspace := usedspace + coalesce(octet_length(prefix), 0);
|
usedspace := usedspace + coalesce(octet_length(prefix), 0);
|
||||||
usedspace := usedspace + coalesce(octet_length(suffix), 0);
|
usedspace := usedspace + coalesce(octet_length(suffix), 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user