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

calc_mysql_week causes PrimProc to segfault

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.3
    • Component/s: ExeMgr
    • Labels:
      None
    • Sprint:
      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

              Assignee:
              dleeyh Daniel Lee
              Reporter:
              LinuxJedi Andrew Hutchings
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: