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

LEAST datatype error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.1.8
    • Fix Version/s: 10.1
    • Component/s: OTHER
    • Labels:
      None

      Description

      Problem : When LEAST function compare 2 bigintegers, datatype decimal is return.

      example:

      drop table if exists t1; create table t1 as select LEAST(100, 18446744073709551615) as a; show columns from t1;

      now return type is "decimal(20,0)". In previous version, was "bigint(21)".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bar Alexander Barkov
              Reporter:
              diego dupin Diego Dupin
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.