[MDEV-6954] SET STATEMENT rand_seedX = ...FOR ... makes the next rand() to return 0 Created: 2014-10-27 Updated: 2015-03-16 Resolved: 2015-03-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Admin statements |
| Affects Version/s: | 10.1.3 |
| Fix Version/s: | 10.1.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Values of rand_seed1 and rand_seed2 can be set, but cannot be seen – server always shows fake zeros for them.
I don't see this problem in Percona.
|
| Comments |
| Comment by Oleksandr Byelkin [ 2014-10-29 ] |
|
The variable is prohibited in SET STATEMENT for now. |
| Comment by Oleksandr Byelkin [ 2014-10-30 ] |
|
variables can be turned to usual ones |
| Comment by Oleksandr Byelkin [ 2015-03-11 ] |
|
They can not to be turned to usual variables because they do not have default value, but its value could be fetched. |
| Comment by Oleksandr Byelkin [ 2015-03-11 ] |
|
revision-id: 7ceff99ff25b74bb188848ce0e5f9e2f1ddac3d0
The variables now return real values. They can't be made usual variables because they do not have DEFAULT value. |
| Comment by Oleksandr Byelkin [ 2015-03-13 ] |
|
revision-id: 21eea36bfdc30447fb2f8607d53aba5df1082834
The variables now return real values. They can't be made usual variables because they do not have DEFAULT value. |
| Comment by Sergei Golubchik [ 2015-03-14 ] |
|
ok to push |