v.22.4Improvement

System Log Tables Support COMMENT in ENGINE Declaration

System log tables now allow to specify COMMENT in ENGINE declaration. Closes #33768. #34536 (Maksim Kita).
System log tables now support specifying a COMMENT in the ENGINE declaration.

Why it matters

This feature allows users to add descriptive comments directly in the ENGINE declaration of system log tables. It helps improve clarity and maintainability by providing additional context or explanations about the log tables, making it easier for users to understand their purpose and configuration.

How to use it

When creating or altering system log tables, include the COMMENT clause within the ENGINE declaration to add a descriptive comment. For example:

CREATE TABLE system_log_table
(
...
) ENGINE = Log COMMENT 'This table logs user actions';