Skip to content

Regression in ISQL diagnostic for SET command since v4 #9007

@aafemt

Description

@aafemt

Since v4 a wrong SET command produces less meaningful output.
Here is output for v3:

C:\Programs\Firebird\Firebird3>isql.exe
Use CONNECT or CREATE DATABASE to specify a database
SQL> set abc;
Valid options are:
AUTOddl                  BLOBdisplay              BAIL
BULK_INSERT              COUNT                    EXPLAIN
ECHO                     GENERATOR                HEADING
LIST                     MAXROWS                  NAMES
PLAN                     PLANONLY                 ROWCOUNT
ROLE                     STATs                    SQLDA_DISPLAY
SQL                      STATISTICS               TRANSaction
TERMinator               TIME                     TRUSTED
WIDTH                    WARNINGs                 WNG
Command error: set abc

And here is for v4:

C:\Programs\Firebird\Firebird4>isql.exe
Use CONNECT or CREATE DATABASE to specify a database
SQL> set abc;
Use CONNECT or CREATE DATABASE to specify a database

If connected, it is better:

SQL> set abc;
Statement failed, SQLSTATE = 42000
Dynamic SQL Error
-SQL error code = -104
-Token unknown - line 1, column 5
-abc

but not always:

SQL> set bail abc;
Command error: set bail abc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions