Skip to content

Commit

Permalink
Merge pull request #7077 from ledgersmb/revert-7064-fix/1.10/custom-s…
Browse files Browse the repository at this point in the history
…eq-next-value

Revert "Return the stored sequence value"
  • Loading branch information
ehuelsmann committed Jan 13, 2023
2 parents 39492f3 + 6439014 commit f3c85bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/modules/Settings.sql
Expand Up @@ -205,7 +205,7 @@ BEGIN

UPDATE lsmb_sequence SET sequence = new_value WHERE label = in_label;

retval := row(t_seq.setting_key, t_seq.prefix || t_seq.sequence || t_seq.suffix);
retval := row(t_seq.setting_key, t_seq.prefix || new_value || t_seq.suffix);
return retval;

END;
Expand Down

0 comments on commit f3c85bd

Please sign in to comment.