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

Warning: Memory not freed: 32 on INSERT DELAYED

Details

    Description

      SET sql_mode='TRADITIONAL';
      CREATE TABLE t (c BLOB) ENGINE=MyISAM;
      INSERT DELAYED INTO t VALUES (''||'');
      SHUTDOWN;
      

      Leads to:

      10.6.2 6c39eaeb126328e7813b146ecf652d51e4508981 (Debug)

      2021-06-15 20:06:25 0 [Note] /test/MD120621-mariadb-10.6.2-linux-x86_64-dbg/bin/mysqld: Shutdown complete
       
      Warning: Memory not freed: 32
      Warning:   32 bytes lost at 0x154d240085a0, allocated by T@0 at sql/sql_string.cc:45, sql/field.cc:8603, sql/field.cc:7303, sql/item.cc:6707, sql/sql_type.cc:4345, sql/item.cc:6713, sql/sql_base.cc:8829, sql/sql_base.cc:8882
      Memory lost: 32 bytes in 1 chunks
      Warning:   32 bytes lost at 0x154d240085a0, allocated by T@0 at sql/sql_string.cc:45, sql/field.cc:8603, sql/field.cc:7303, sql/item.cc:6707, sql/sql_type.cc:4345, sql/item.cc:6713, sql/sql_base.cc:8829, sql/sql_base.cc:8882
      Memory lost: 32 bytes in 1 chunks
      

      Affects both debug and optimized builds, from 10.2 to 10.6.
      Other versions have different amounts of memory not freed (all less than 32)

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Alexander Barkov made transition -
            Open In Progress
            116d 8h 28m 1
            Alexander Barkov made transition -
            In Progress In Review
            8s 1
            Oleksandr Byelkin made transition -
            In Review Stalled
            1d 12h 37m 1
            Alexander Barkov made transition -
            Stalled Closed
            7h 9m 1

            People

              bar Alexander Barkov
              Roel Roel Van de Paar
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.