talek / vorax4

A simple yet powerful IDE for Oracle databases, built on top of the widely known Vim editor and Oracle SqlPLUS.
http://talek.github.io/vorax4
MIT License
53 stars 11 forks source link

Slash seems to get executed again after "show err" #88

Open batterts opened 6 years ago

batterts commented 6 years ago

When I execute the code block:

create or replace type foo as
end;
/
show err

It appears that the slash gets picked up and re-executed after "show err". I think it is re-executed. I didn't test to see if it is just printed twice and just a display bug.

SQL>create or replace type foo as
2  end;
3  /

Warning: Type created with compilation errors.

Elapsed: 00:00:00.06
SQL>show err
Errors for TYPE FOO:

LINE/COL ERROR
-------- -----------------------------------------------------------------
2/1      PLS-00103: Encountered the symbol "END" when expecting one of
         the following:
         array varray table object fixed varying opaque sparse

SQL>/

Warning: Type created with compilation errors.

Elapsed: 00:00:00.06