Class SessionParameterCatalog

java.lang.Object
dev.frostlake.executor.SessionParameterCatalog

public final class SessionParameterCatalog extends Object
The session parameters SHOW PARAMETERS lists, with their defaults, descriptions and type words.

★ IT IS A TRANSCRIPTION, NOT A DESIGN. Every row was read off a real account — 160 of them — because none of this is derivable: the default of WEEK_START is 0 and of LOCK_TIMEOUT is 43200, the type word is one of BOOLEAN / STRING / NUMBER (never TEXT, which this engine used to invent), and the descriptions are prose, some of it several lines long and some of it ungrammatical in ways only a verbatim copy reproduces. Frostlake used to carry twelve hand-written rows, so a parameter it had not heard of returned NO ROWS AT ALL — a tool asking for one got nothing rather than its default.

★ THE VALUE AND THE LEVEL ARE NOT IN HERE, deliberately. A row's value is its default until the session sets it, and the level is blank until then and SESSION after — that rule is the executor's and was measured separately. What the table holds is only what does NOT change with the session.

The account this was taken from is a plain one; an edition-gated parameter another account has would simply be missing, so tests pin individual ROWS rather than the count.

  • Method Details

    • rows

      public static List<SessionParameterRow> rows()
      Every known parameter, in the order live lists them (alphabetical by name).