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

Valgrind warnings (blocks are possibly lost) on EXPLAIN INSERT .. SELECT with Aria tables

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Cannot Reproduce
    • None
    • 10.0.6
    • None
    • None

    Description

      ==14388== 768 bytes in 1 blocks are possibly lost in loss record 3 of 3
      ==14388==    at 0xFC5A9B: malloc (jemalloc.c:906)
      ==14388==    by 0xF23DBA: my_malloc (my_malloc.c:100)
      ==14388==    by 0xDC85D8: maria_init_bulk_insert (ma_write.c:1752)
      ==14388==    by 0xD4E966: ha_maria::start_bulk_insert(unsigned long long, unsigned int) (ha_maria.cc:2143)
      ==14388==    by 0x62AA53: handler::ha_start_bulk_insert(unsigned long long, unsigned int) (handler.h:2619)
      ==14388==    by 0x627D50: select_insert::prepare(List<Item>&, st_select_lex_unit*) (sql_insert.cc:3506)
      ==14388==    by 0x675F31: JOIN::prepare(Item***, TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:946)
      ==14388==    by 0x67E14D: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3262)
      ==14388==    by 0x6745B1: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:371)
      ==14388==    by 0x6423BC: mysql_execute_command(THD*) (sql_parse.cc:3483)
      ==14388==    by 0x64A255: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6313)
      ==14388==    by 0x63CE82: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1281)
      ==14388==    by 0x63C285: do_command(THD*) (sql_parse.cc:986)
      ==14388==    by 0x75FB5A: do_handle_one_connection(THD*) (sql_connect.cc:1379)
      ==14388==    by 0x75F8AD: handle_one_connection (sql_connect.cc:1293)
      ==14388==    by 0xA0C1A8: pfs_spawn_thread (pfs.cc:1853)

      revision-id: psergey@askmonty.org-20131017135225-oqarv1l55kd8l4xn
      revno: 3858
      branch-nick: 10.0
      BUILD/compile-pentium-valgrind-max-no-ndb

      CREATE TABLE t1 (i INT, INDEX(i)) ENGINE=Aria;
      INSERT INTO t1 VALUES (1),(2);
      CREATE TABLE t2 LIKE t1;
      INSERT INTO t2 VALUES (3),(4);
       
      EXPLAIN INSERT INTO t1 SELECT * FROM t2;
       
      DROP TABLE t1,t2;

      Attachments

        Issue Links

          Activity

            People

              psergei Sergei Petrunia
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.