crate / crash

Crash is an interactive CrateDB command line interface (CLI) SQL shell with autocompletion.
Apache License 2.0
48 stars 13 forks source link

Fix status line display of the executed SQL command, part 2 #434

Closed amotl closed 7 months ago

amotl commented 7 months ago

After recent improvements (GH-432), SQL command arguments came through verbatim:

DENY DQL, DML, DDL, AL ON SCHEMA sys TO test;
DENY DQL, DML, DDL, AL OK, 1 row affected (0.082 sec)

This fixes it to just display the effective SQL command, without any arguments:

DENY OK, 1 row affected (0.082 sec)