• Oleg Smirnov's avatar
    MDEV-10000 Add EXPLAIN [FORMAT=JSON] FOR CONNECTION syntax support · 32868483
    Oleg Smirnov authored
    EXPLAIN FOR CONNECTION is a MySQL-compatible syntax for SHOW EXPLAIN.
    This commit also adds support for FORMAT=JSON to SHOW EXPLAIN,
    so the possible options to get JSON-formatted output are:
    - SHOW EXPLAIN FORMAT=JSON FOR $con
    - EXPLAIN FORMAT=JSON FOR CONNECTION $con
    32868483
sql_explain.h 26 KB