Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 11.4.2
    • N/A
    • Variables
    • None

    Description

      User defined variable containing result of `UUID()` returns different result on each select.

      To reproduce run in mysql command line client:

      set @b := UUID();
      select @b;
      select @b;
      select @b;
      

      Below are my results:

      MariaDB [test]> set @b := UUID();
      Query OK, 0 rows affected (0,032 sec)
       
      MariaDB [test]> select @b;
      +--------------------------------------+
      | @b                                   |
      +--------------------------------------+
      | 5981fba1-dc91-11ef-91a2-ac1f6b47855a |
      +--------------------------------------+
      1 row in set (0,035 sec)
       
      MariaDB [test]> select @b;
      +--------------------------------------+
      | @b                                   |
      +--------------------------------------+
      | 59829ca8-dc91-11ef-90e4-0cc47aa9252e |
      +--------------------------------------+
      1 row in set (0,042 sec)
       
      MariaDB [test]> select @b;
      +--------------------------------------+
      | @b                                   |
      +--------------------------------------+
      | 5981fba1-dc91-11ef-91a2-ac1f6b47855a |
      +--------------------------------------+
      1 row in set (0,034 sec)
       
      MariaDB [test]> select @b;
      +--------------------------------------+
      | @b                                   |
      +--------------------------------------+
      | 59829ca8-dc91-11ef-90e4-0cc47aa9252e |
      +--------------------------------------+
      1 row in set (0,041 sec)
      
      

      Attachments

        Activity

          Transition Time In Source Status Execution Times
          Ramesh Sivaraman made transition -
          Open Needs Feedback
          20h 8m 2
          Elena Stepanova made transition -
          Needs Feedback Open
          31d 3h 23m 2
          Elena Stepanova made transition -
          Open Closed
          27s 1

          People

            Unassigned Unassigned
            daniil_arora Daniil
            Votes:
            0 Vote for this issue
            Watchers:
            6 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.