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

TokuDB: Column modification does not work, causes ER_TABLE_DEF_CHANGED

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      MariaDB [test]> create table t1 (i int) engine=TokuDB;
      Query OK, 0 rows affected (1.10 sec)
      
      MariaDB [test]> alter table t1 modify i int default '0';
      ERROR 1412 (HY000): Table definition has changed, please retry transaction
      

      Test case:

      install soname 'ha_tokudb.so';
      create table t1 (i int) engine=TokuDB;
      alter table t1 modify i int default '0';
      

      bzr version-info

      revision-id: holyfoot@askmonty.org-20130514121908-d6tp4zsdkim0q4dg
      revno: 3768
      branch-nick: 5.5-hf-tokudb
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              elenst Elena Stepanova added a comment -

              Not reproducible on MariaDB-5.5.30-TokuDB-7.0.1

              Show
              elenst Elena Stepanova added a comment - Not reproducible on MariaDB-5.5.30-TokuDB-7.0.1
              Hide
              elenst Elena Stepanova added a comment -

              Not limited to column modification, many other ALTER statements exhibit the same behavior

              Show
              elenst Elena Stepanova added a comment - Not limited to column modification, many other ALTER statements exhibit the same behavior

                People

                • Assignee:
                  serg Sergei Golubchik
                  Reporter:
                  elenst Elena Stepanova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: