Details

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

      Description

      Adding new columns to an already initialized column crashes:

      how to repeat:

      static int test_mdev_4994(MYSQL *mysql)
      {
        DYNAMIC_COLUMN dyncol;
        uint key= 1;
        DYNAMIC_COLUMN_VALUE val;
        int rc;
        
        val.type= MYSQL_TYPE_NULL;
      
        mariadb_dyncol_init(&dyncol); /* see patch for MDEV-4993 */
        rc= mariadb_dyncol_create_many_named(&dyncol, 1,&key, &val, 0);  /* crash */
        FAIL_IF(rc < 0, "Unexpected error");
        return OK;
      }
      
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            sanja Oleksandr Byelkin added a comment - - edited

            dynamic columns unit-test appeared to be switched off, so now I am fixing it.

            Show
            sanja Oleksandr Byelkin added a comment - - edited dynamic columns unit-test appeared to be switched off, so now I am fixing it.
            Hide
            sanja Oleksandr Byelkin added a comment -

            It is pushed (I am waiting buildbot).

            Show
            sanja Oleksandr Byelkin added a comment - It is pushed (I am waiting buildbot).

              People

              • Assignee:
                sanja Oleksandr Byelkin
                Reporter:
                georg Georg Richter
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: