Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-283

calc_mysql_week causes PrimProc to segfault

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • None
    • 1.0.3
    • ExeMgr
    • None
    • 1.0.3

    Description

      My fix for MCOL-274 broke calc_mysql_week, the following query causes a segfault:

      SELECT DATE_FORMAT(o_orderdate, '%W %M %Y') func_date_format,
      	extract(month from o_orderdate) func_extract,
      	MINUTE('2008-02-03 10:05:03'),
      	SEC_TO_TIME(2378),
      	SECOND('10:05:03'),
      	TIME_TO_SEC('22:23:00'),
      	to_days(o_orderdate),
      	week(o_orderdate) func_week,
      	year(o_orderdate)
      from orders
      where o_orderkey=1;
      

      Attachments

        Issue Links

          Activity

            People

              dleeyh Daniel Lee (Inactive)
              LinuxJedi Andrew Hutchings (Inactive)
              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.