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

non-deterministic functions in virtual columns unsafe for replication

    XMLWordPrintable

Details

    Description

      some functions are allowed in virtual columns and that make tables unsafe in replication. For example,

      --source include/have_binlog_format_mixed.inc
      --source include/master-slave.inc
      reset master; 
      create table t (a int, b varbinary(200) as (uuid(a)));
      insert into t (a) values (1),(2);
      create table t2 as select * from t;
      select a, b from t2;
      --sync_slave_with_master
      select a, b from t2;
      --connection master
      show binlog events;
      drop table t, t2;
      --source include/rpl_end.inc
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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