From e939681d02bb80f7bdb73e8975a19fa9b60b5a00 Mon Sep 17 00:00:00 2001 From: walace Date: Thu, 17 Oct 2019 13:29:42 +0000 Subject: [PATCH] fixes bug#16540 qua: dev:alberto git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@98299 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20191016_1015__mantis16540.sql | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/db/migration/V20191016_1015__mantis16540.sql b/src/db/migration/V20191016_1015__mantis16540.sql index 92a8e01eb..5e97e0647 100644 --- a/src/db/migration/V20191016_1015__mantis16540.sql +++ b/src/db/migration/V20191016_1015__mantis16540.sql @@ -1,17 +1,13 @@ declare - dup_val_on_index exception; - pragma exception_init (dup_val_on_index , -00001); begin execute immediate 'insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values (FUNCION_SISTEMA_SEQ.NEXTVAL,2,''VENDA EMBARCADA > MENU EMBARCADA > VENDA MANUAL EMBARCADA'', ''COM.RJCONSULTORES.VENTABOLETOS.GUI.VENTA.MENU.ITENS.ITEMMENUVENTAMANUALEMBARCADA'',1,SYSDATE,-1)'; - exception when dup_val_on_index then null; + exception when others then null; end; / declare - dup_val_on_index exception; - pragma exception_init (dup_val_on_index , -00001); begin execute immediate 'insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values (FUNCION_SISTEMA_SEQ.NEXTVAL,2,''VENDA EMBARCADA > MENU EMBARCADA'', ''COM.RJCONSULTORES.VENTABOLETOS.GUI.VENTA.MENU.ITENS.MENUEMBARCADA'',1,SYSDATE,-1)'; - exception when dup_val_on_index then null; + exception when others then null; end; \ No newline at end of file