YottaDB / YDB

Mirrored from https://gitlab.com/YottaDB/DB/YDB
Other
76 stars 37 forks source link

mumps -nowarning does not display BLKTOODEEP messages #220

Closed shabiel closed 6 years ago

shabiel commented 6 years ago

Final Release Note

mumps -nowarning does not display BLKTOODEEP messages. Previously, mumps -nowarning displayed YDB-W-BLKTOODEEP errors even though it did not display other types of errors (e.g. YDB-E-EXPR).(#220)

Description

$ mumps XOBWENV.m
     IF '##class(%File).DirectoryExists(XOBDIR) DO  QUIT 0
         ^-----
        At column 6, line 63, source module /var/db/wv201602/r/XOBWENV.m
%YDB-E-EXPR, Expression expected but not found
     . WRITE !," o  Directory does not exist: "_XOBDIR
       ^-----
        At column 4, line 64, source module /var/db/wv201602/r/XOBWENV.m
%YDB-W-BLKTOODEEP, Block level too deep
     IF '##class(%File).Exists(XOBPATH) DO  QUIT 0
         ^-----
        At column 6, line 66, source module /var/db/wv201602/r/XOBWENV.m
%YDB-E-EXPR, Expression expected but not found
     . WRITE !," o  File to be imported does not exist: "_XOBPATH
       ^-----
        At column 4, line 67, source module /var/db/wv201602/r/XOBWENV.m
%YDB-W-BLKTOODEEP, Block level too deep

$ mumps -nowarning XOBWENV.m
     . WRITE !," o  Directory does not exist: "_XOBDIR
       ^-----
        At column 4, line 64, source module /var/db/wv201602/r/XOBWENV.m
%YDB-W-BLKTOODEEP, Block level too deep
     . WRITE !," o  File to be imported does not exist: "_XOBPATH
       ^-----
        At column 4, line 67, source module /var/db/wv201602/r/XOBWENV.m
%YDB-W-BLKTOODEEP, Block level too deep

Draft Release Note

MUMPS -NOWARNING does not display BLKTOODEEP messages. In prior versions of YottaDB, MUMPS -NOWARNING displayed YDB-W-BLKTOODEEP errors even though it did not display other types of errors (e.g. YDB-E-EXPR).

nars1 commented 6 years ago

@shabiel : Thanks for the report. A fix for this is now out for review.