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

In view FROM_UNIXTIME adds .000000 in the result

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11
    • 10.5, 10.6, 10.11
    • None

    Description

      Test:

      create view v1 as SELECT FROM_UNIXTIME('1663132860');
      select * from v1;
      drop view v1;
      

      Expected result:

      FROM_UNIXTIME('1663132860')
      2022-09-14 12:21:00
      

      Actual result:

      FROM_UNIXTIME('1663132860')
      2022-09-14 12:21:00.000000
      

      Attachments

        Issue Links

          Activity

            People

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