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

Server does not clear diagnostics between sessions

Details

    • 10.2.14

    Description

      In the "mysql" client, I run this query to force a warning:

      SELECT TIME('10:10:10.11111111111');
      

      Now I exit the session, start "mysql" again, and run this query:

      SHOW WARNINGS;
      

      It returns the warnings from the previous session:

      +-------+------+--------------------------------------------------------+
      | Level | Code | Message                                                |
      +-------+------+--------------------------------------------------------+
      | Note  | 1292 | Truncated incorrect time value: '10:10:10.11111111111' |
      +-------+------+--------------------------------------------------------+
      

      Attachments

        Activity

          bar Alexander Barkov created issue -
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Status Open [ 1 ] Confirmed [ 10101 ]

          I'm raising the priority because it looks like a security issue to me – the previous warnings are shown even to a different user.

          elenst Elena Stepanova added a comment - I'm raising the priority because it looks like a security issue to me – the previous warnings are shown even to a different user.
          elenst Elena Stepanova made changes -
          Component/s Scripts & Clients [ 11002 ]
          Component/s Server [ 13907 ]
          Fix Version/s 10.2 [ 14601 ]
          Assignee Sergei Golubchik [ serg ]
          Priority Major [ 3 ] Critical [ 2 ]
          serg Sergei Golubchik made changes -
          Assignee Sergei Golubchik [ serg ] Vesa Pentti [ pentve ]
          pentve Vesa Pentti (Inactive) made changes -
          Assignee Vesa Pentti [ pentve ]
          serg Sergei Golubchik made changes -
          Assignee Vladislav Vaintroub [ wlad ]
          serg Sergei Golubchik made changes -
          Sprint 10.2.14 [ 229 ]
          wlad Vladislav Vaintroub made changes -
          issue.field.resolutiondate 2018-03-12 18:31:04.0 2018-03-12 18:31:04.358
          wlad Vladislav Vaintroub made changes -
          Fix Version/s 10.2.14 [ 22911 ]
          Fix Version/s 10.3.6 [ 23003 ]
          Fix Version/s 10.2 [ 14601 ]
          Resolution Fixed [ 1 ]
          Status Confirmed [ 10101 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 84305 ] MariaDB v4 [ 153303 ]

          People

            wlad Vladislav Vaintroub
            bar Alexander Barkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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