[MDEV-20664] Prepared statement with more than 65535 columns doesn't return an error Created: 2019-09-25 Updated: 2023-04-14 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Prepared Statements |
| Affects Version/s: | 10.3.18 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | markus makela | Assignee: | Dmitry Shulga |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
When a statement is prepared using the binary protocol and it has more than 65535 columns in the resultset that it generates, the number of fields returned in the COM_STMT_PREPARE response only contain the lower 16 bits of the actual number of columns. This causes connectors to fail in ways that are not obvious to the user. As a user, I would expect this to return an error that an internal limit has been exceeded. |
| Comments |
| Comment by Dmitry Shulga [ 2023-04-14 ] |
|
10.3 is EOL, so change fix version to 10.4 |