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

LEAST datatype error

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.1.8
    • 10.1(EOL)
    • OTHER
    • 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

              bar Alexander Barkov
              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.