Improve another EXECUTE+FOUND #141

This commit is contained in:
Rafa de la Torre 2015-09-14 17:54:35 +02:00
parent dfd0454be3
commit 1596bd56d8

View File

@ -1158,7 +1158,7 @@ BEGIN
const.pkey, copyname)
INTO destseqmax;
IF FOUND AND destseqmax IS NOT NULL THEN
IF destseqmax IS NOT NULL THEN
PERFORM _CDB_SQL(Format('SELECT setval(''%s'', %s)', destseq, destseqmax), '_CDB_Rewrite_Table');
END IF;