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

Memory leak on INSERT DELAYED

    XMLWordPrintable

Details

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

    Description

      The test case below results in a memory leak. At least confirmed on 10.5 (e8e755ea6cbac56d561375b940281a903c7db61c) debug build.

      CREATE TABLE tbl_a (a INT UNSIGNED KEY,b INT UNSIGNED,c INT UNSIGNED,UNIQUE (b, c) USING HASH) ENGINE=MyISAM;
      SHOW CREATE TABLE tbl_a;
      INSERT DELAYED INTO tbl_a VALUES (0,0,0);
      

      e8e755ea6cbac56d561375b940281a903c7db61c (debug)

      Warning: Memory not freed: 80
      Warning:   40 bytes lost at 0x7f65ec196a80, allocated by T@0 at 0x559424d00aa1, sql/sql_string.cc:44, sql/sql_string.h:639, sql/field.cc:4254, sql/field.cc:4435, sql/item.cc:3288, sql/item.h:915, sql/item_func.cc:1776
      Warning:   40 bytes lost at 0x7f65ec0c3ea0, allocated by T@0 at sql/item.cc:6757, sql/sql_string.h:639, sql/field.cc:4254, sql/field.cc:4435, sql/item.cc:3288, sql/item.h:915, sql/item_func.cc:1776, sql/item.cc:6757
      Warning:   40 bytes lost at 0x7f65ec196a80, allocated by T@0 at sql/sql_string.cc:44, sql/sql_string.h:639, sql/field.cc:4254, sql/field.cc:4435, sql/item.cc:3288, sql/item.h:915, sql/item_func.cc:1776, sql/item.cc:6757
      Warning:   40 bytes lost at 0x7f65ec0c3ea0, allocated by T@0 at sql/sql_string.cc:44, sql/sql_string.h:639, sql/field.cc:4254, sql/field.cc:4435, sql/item.cc:3288, sql/item.h:915, sql/item_func.cc:1776, sql/item.cc:6757
      

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              nayuta-yanagisawa Nayuta Yanagisawa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.