[Home] [Help]
609: ad_apps_private.error_buf := null;
610: when others then
611: --
612: -- Insert SQL errors we encounter while compiling invalid objects
613: -- into AD_PARALLEL_COMPILE_ERRORS table. Most of these are RDBMS
614: -- bugs, but we need to trap (and later display) them anyway.
615: --
616: timestamp := to_char(sysdate,'YYYY-MM-DD:HH24:MI:SS');
617:
636: timestamp := 'Unknown timestamp';
637: end if;
638:
639: insert into
640: ad_parallel_compile_errors (owner,
641: worker_number,
642: timestamp,
643: type,
644: text)
650:
651: sql_error := SQLERRM;
652:
653: insert into
654: ad_parallel_compile_errors (owner,
655: worker_number,
656: timestamp,
657: type,
658: text)
663: sql_error);
664:
665: if ad_apps_private.error_buf is not null then
666: insert into
667: ad_parallel_compile_errors (owner,
668: worker_number,
669: timestamp,
670: type,
671: text)