Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-41200

ANY_VALUE not marked BINLOG_STMT_UNSAFE_SYSTEM_FUNCTION, risking master/replica divergence

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Blocker
    • Resolution: Unresolved
    • N/A
    • 13.2
    • None
    • None
    • Q4/2026 Server Maintenance

    Description

      --source include/have_log_bin.inc
      --source include/have_binlog_format_statement.inc
       
      CREATE TABLE t1 (a int);
      INSERT intO t1 VALUES (1),(2),(3);
       
      CREATE TABLE t2 (a int);
       
      INSERT into t2 SELECT ANY_VALUE(a) FROM t1;
      SHOW WARNINGS;
       
      DROP TABLE t1, t2;
      

      expected: [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. ...

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              alice Alice Sherepa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 3h 17m
                  3h 17m
                  Remaining:
                  Remaining Estimate - 3h 17m
                  3h 17m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.