[MDEV-17007] COM_STMT_PREPARE Column Definition returns incorrect column type. Created: 2018-08-17 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Prepared Statements |
| Affects Version/s: | 10.3.9 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Jerome David | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Official docker image: library:mariadb:10.3.9, with all settings/confs left at default. |
||
| Description |
|
I am not using any library to access mariadb, I am just using the protocol directly as described here. The issue is when creating a prepared statement (using the binary protocol). This only happens with mariadb 10.3.x. It works fine with 10.2.x and prior versions. Details: Table:
Prepared statement:
Protocol calls:
There's only one column definition sent, since there's only one param in the statement. |