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

TO_DATE: UBSAN errors in item_timefunc.h upon comparison with a view column

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • N/A
    • 12.3
    • Views
    • None
    • Q1/2026 Server Development

    Description

      CREATE ALGORITHM=TEMPTABLE VIEW v AS select '2026-01-01' AS a;
      SELECT * FROM v WHERE TO_DATE('10','HH') = a;
       
      DROP VIEW v;
      

      bb-12.3-MDEV-19683-to_date 7cbf7a8c641379d4318067607b71704956e87e5e

      /data/bld/preview-12.3/bb-12.3-MDEV-19683-to_date-ubsan/sql/item_timefunc.h:1796:7: runtime error: load of value 2779096485, which is not a valid value for type 'PARSE_TYPE_FLAGS'
      

      Attachments

        Issue Links

          Activity

            People

              monty Michael Widenius
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.