Skip to content

Merge breaks when MySQL's sql_mode is set to some specific values or "Strict Mode" is on #241

Open
@yuliu

Description

@yuliu

PostgreSQL and SQLite may have equivalently so-called strict mode, but I'm not familiar with them.

Quick search:
PostgreSQL: no findings.
SQLite: https://sqlite.org/src/wiki?name=StrictMode

Relevant issue: #235. I can't confirm which setting is in effect here, the setting of sql_mode when I'm experiencing the problem is STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION.

A community post complains about sql_mode set with only_full_group_by: https://community.mybb.com/thread-225560-post-1339852.html#pid1339852

Seems MySQL is involving more strict modes along new version releases. So some queries may break the merging in newer MySQL versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions