Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-739

mtr --ps does not print fractional digits for FROM_UNIXTIME('1922.1')

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 3.1, 3.3, 3.4
    • 3.1.27
    • Tests
    • None

    Description

      The problem is repeatable with all server versions between 10.5 and 11.7.

      I create this MTR test file:

      SELECT FROM_UNIXTIME('1922.1');
      

      If I run "mtr testname", it returns:

      SELECT FROM_UNIXTIME('1922.1');
      FROM_UNIXTIME('1922.1')
      1970-01-01 04:32:02.100000
      

      If I run "mtr --ps testname", it returns

      SELECT FROM_UNIXTIME('1922.1');
      FROM_UNIXTIME('1922.1')
      1970-01-01 04:32:02
      

      Notice there are no fractional digits.

      Attachments

        Activity

          People

            georg Georg Richter
            bar Alexander Barkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.