[MDEV-24957] Unsupported binary command parameter support part Created: 2021-02-23 Updated: 2021-02-23 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Oleksandr Byelkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Now all commands will be supported using binary protocol ( An example is that some command without question mark works, but same one with parameter won't.
Connectors normally doesn't have not to parse commands, to check that for example if this is an insert command, question mark are allowed, or for other they are not. Solution would be for optimizer to support question mark on COM_STMT_PREPARE and execution to take given parameter of COM_STMT_EXECUTE |
| Comments |
| Comment by Sergei Golubchik [ 2021-02-23 ] |
|
user name in CREATE USER isn't an expression (one cannot write CREATE USER CONCAT('a', 'b') , so one shouldn't expect a placeholder to work there. But still there probably are statements that can now be prepared and that support expressions. E.g. LOAD and PURGE |