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

Valgrind warnings (Conditional jump or move depends on uninitialised value) on COLUMN_ADD with not matching types

    XMLWordPrintable

Details

    Description

      SELECT COLUMN_ADD( COLUMN_CREATE( 1, 0 ), 1, 'invalid date' AS DATE, 2, 'another invalid date' AS DATE );

      ==32450== Conditional jump or move depends on uninitialised value(s)
      ==32450==    at 0xF2828E: dynamic_column_update_move_left (ma_dyncol.c:2905)
      ==32450==    by 0xF29622: dynamic_column_update_many_fmt (ma_dyncol.c:3552)
      ==32450==    by 0xF288D2: mariadb_dyncol_update_many (ma_dyncol.c:3257)
      ==32450==    by 0x8B50F1: Item_func_dyncol_add::val_str(String*) (item_strfunc.cc:4363)
      ==32450==    by 0x843DD0: Item::send(Protocol*, String*) (item.cc:6423)
      ==32450==    by 0x5941CD: Protocol::send_result_set_row(List<Item>*) (protocol.cc:900)
      ==32450==    by 0x5FBB23: select_send::send_data(List<Item>&) (sql_class.cc:2498)
      ==32450==    by 0x670AD3: JOIN::exec_inner() (sql_select.cc:2370)
      ==32450==    by 0x67058E: JOIN::exec() (sql_select.cc:2292)
      ==32450==    by 0x673B85: 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:3222)
      ==32450==    by 0x66A2E7: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:371)
      ==32450==    by 0x63E1E6: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:5123)
      ==32450==    by 0x636680: mysql_execute_command(THD*) (sql_parse.cc:2518)
      ==32450==    by 0x640A6B: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6264)
      ==32450==    by 0x63389D: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1277)
      ==32450==    by 0x632CD5: do_command(THD*) (sql_parse.cc:983)

      bzr version-info

      revision-id: svoj@mariadb.org-20130814085017-hgdzpt71613pyfkw
      revno: 3794
      branch-nick: 10.0

      Built with BUILD/compile-pentium-valgrind-max-no-ndb

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              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.