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

crash in Item_func_sec_to_time::get_date

    XMLWordPrintable

Details

    Description

      Version: '10.2.9-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
      mysqld.exe!Item_func_sec_to_time::get_date()[item_timefunc.cc:1855]
      mysqld.exe!Item::get_date_with_conversion()[item.cc:151]
      mysqld.exe!Item_func_to_days::val_int()[item_timefunc.cc:783]
      mysqld.exe!Item::update_null_value()[item.h:1454]
      mysqld.exe!Item_avg_field::is_null()[item_sum.h:1244]
      mysqld.exe!mysql_do()[sql_do.cc:34]
      mysqld.exe!mysql_execute_command()[sql_parse.cc:3495]
      mysqld.exe!mysql_parse()[sql_parse.cc:7880]
      mysqld.exe!dispatch_command()[sql_parse.cc:1814]
      mysqld.exe!do_command()[sql_parse.cc:1359]
      mysqld.exe!threadpool_process_request()[threadpool_common.cc:366]
      mysqld.exe!tp_callback()[threadpool_common.cc:192]
      

      How to repeat

      do to_days(sec_to_time(time(ceiling(uuid())))); #sporadic
      do to_days(sec_to_time(makedate('',rand(~('')))));
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              sbester1 sbester1
              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.