Skip to content

NO_ENGINE_SUBSTITUTION may not be the only option in sql-mode

If @@sql_mode contains other options, e.g. NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES, the previous way of testing would incorrectly complain about the NO_ENGINE_SUBSTITUTION not being set.

Merge request reports