Commit 76e20367 authored by Aleksey Midenkov's avatar Aleksey Midenkov

MDEV-28933 fix from MDEV-19191

parent 9c054e95
......@@ -74,7 +74,7 @@ R"===(PROCEDURE RENAME_CONSTRAINT_IDS () IS
IF (:old_is_tmp > 0 AND offset > 0) THEN
foreign_id := CONCAT(SUBSTR(foreign_id2, 0, offset - 1),
SUBSTR(foreign_id2, offset2, id_len - offset2));
id_len := id_len - 1;
id_len := LENGTH(foreign_id);
END IF;
IF (INSTR(foreign_id, '/') > 0) THEN
IF (INSTR(foreign_id,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment