Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-6020

Assertion `table && table->s->sequence' failed on update to default defined as nextval

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • None
    • N/A
    • MariaDB Server
    • None

    Description

      create table t1(x int default(nextval(sq))) engine=innodb;
      insert t1() values();
      update t1 set x = default;
      

      Results in

      server 12.0.1 branch=main cbd675

      mariadbd: /home/nik/work/mariadb/sql/item_func.cc:7106: virtual longlong Item_func_nextval::val_int(): Assertion `table && table->s->sequence' failed.
      

      Attachments

        Issue Links

          Activity

            People

              nikitamalyavin Nikita Malyavin
              nikitamalyavin Nikita Malyavin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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