Skip to content

v.0.5.2

Choose a tag to compare

@vitaly-t vitaly-t released this 05 Aug 22:54
· 90 commits to master since this release

New feature: preserving special multi-line comments

When a multi-line comment starts with /*!, it is no longer removed.

This is mostly for preparing SQL scripts where after compression you want to preserve a basic reference/name for it at the top, via a special-syntax multi-line comment that starts with /*!.

And the syntax of /*! comment */ is a known standard for comments that must not be removed.

Example:

/*! Special comment that won't be removed */
SELECT 123; -- this comment will be removed
/* This comment will also be removed */