[MDEV-7015] SET STATEMENT old_passwords has no effect Created: 2014-11-03 Updated: 2015-02-02 Resolved: 2014-12-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Admin statements |
| Affects Version/s: | N/A |
| Fix Version/s: | 10.1.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Percona server seems to work all right. |
| Comments |
| Comment by Oleksandr Byelkin [ 2014-11-05 ] | ||||||||
|
The variable prohibited as a workaround. | ||||||||
| Comment by Oleksandr Byelkin [ 2014-11-11 ] | ||||||||
|
Parameters set during parsing so changing variables has no effect. | ||||||||
| Comment by Sergei Golubchik [ 2014-11-29 ] | ||||||||
|
Don't set NO_SET_STMT for it, fix the following bug instead:
| ||||||||
| Comment by Sergei Golubchik [ 2014-11-29 ] | ||||||||
|
one possible fix would be to extend the grammar to support PASSWORD(string, mode) function, and use Item_func_get_system_var as needed. Alternatively, there can be a hidden flag, not available from SQL. Like password_func_item->check_old_passwords_variable=1; | ||||||||
| Comment by Oleksandr Byelkin [ 2014-12-01 ] | ||||||||
|
You pickup workaround to review instead of fix. Fix include decision about what function to use on fixfields call. Subject of the e-mail is: | ||||||||
| Comment by Sergei Golubchik [ 2014-12-02 ] | ||||||||
|
ok to push |