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

Warning: Memory not freed: 32 on INSERT DELAYED

    XMLWordPrintable

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

            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:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 5h 20m
                  5h 20m

                  Git Integration

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