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

    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:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 0.25d
                0.25d

                Git Integration

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