[MDEV-27455] SHOW GRANTS causes commands out of sync errors in cursor protocol Created: 2022-01-09 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Protocol, Server |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5, 10.6, 10.7 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
SHOW GRANTS (and probably many more statements) fail with CR_COMMANDS_OUT_OF_SYNC upon execute with CURSOR_TYPE_READ_ONLY. For example, with MTR Run with --cursor-protocol
I'm getting the same error with something like
So chances are, it's not mysqltest problem. Reproducible with libmariadb but not with libmysqlclient from 10.1 or from MySQL 8.0. |