Skip to content

Commit

Permalink
fix ambiguity in macro column name
Browse files Browse the repository at this point in the history
  • Loading branch information
asarhaddon committed Oct 25, 2024
1 parent ee779bf commit 175804c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions impls/plpgsql/step8_macros.sql
Original file line number Diff line number Diff line change
Expand Up @@ -233,15 +233,15 @@ BEGIN
fast integer;
fparams integer;
fenv integer;
macro boolean;
fmacro boolean;
args integer[] := ARRAY[]::integer[];
result integer;
evda0 constant integer := mal.EVAL(a0, env);
BEGIN
SELECT type_id, val_string, ast_id, params_id, env_id, macro
INTO type, fname, fast, fparams, fenv, macro
INTO type, fname, fast, fparams, fenv, fmacro
FROM types.value WHERE value_id = evda0;
IF macro THEN
IF fmacro THEN
ast := types._apply(evda0, types._restArray(ast));
CONTINUE; -- TCO
END IF;
Expand Down
6 changes: 3 additions & 3 deletions impls/plpgsql/step9_try.sql
Original file line number Diff line number Diff line change
Expand Up @@ -256,15 +256,15 @@ BEGIN
fast integer;
fparams integer;
fenv integer;
macro boolean;
fmacro boolean;
args integer[] := ARRAY[]::integer[];
result integer;
evda0 constant integer := mal.EVAL(a0, env);
BEGIN
SELECT type_id, val_string, ast_id, params_id, env_id, macro
INTO type, fname, fast, fparams, fenv, macro
INTO type, fname, fast, fparams, fenv, fmacro
FROM types.value WHERE value_id = evda0;
IF macro THEN
IF fmacro THEN
ast := types._apply(evda0, types._restArray(ast));
CONTINUE; -- TCO
END IF;
Expand Down
6 changes: 3 additions & 3 deletions impls/plpgsql/stepA_mal.sql
Original file line number Diff line number Diff line change
Expand Up @@ -256,15 +256,15 @@ BEGIN
fast integer;
fparams integer;
fenv integer;
macro boolean;
fmacro boolean;
args integer[] := ARRAY[]::integer[];
result integer;
evda0 constant integer := mal.EVAL(a0, env);
BEGIN
SELECT type_id, val_string, ast_id, params_id, env_id, macro
INTO type, fname, fast, fparams, fenv, macro
INTO type, fname, fast, fparams, fenv, fmacro
FROM types.value WHERE value_id = evda0;
IF macro THEN
IF fmacro THEN
ast := types._apply(evda0, types._restArray(ast));
CONTINUE; -- TCO
END IF;
Expand Down

0 comments on commit 175804c

Please sign in to comment.