Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Do
Description
In response to COM_STMT_PREPARE the server sends back metadata (24 bytes) for each parameter in prepared statement. The metadata information is incomplete, has wrong values and cannot be used. Therefore the client api function mysql_stmt_param_metadata always returns a hardcoded NULL.
Proposal:
Add a new extended capability flag MARIADB_CLIENT_SKIP_PARAM_METADATA. If this flag is set/supported both by client and server, the server will send only the number of parameters, but not parameter metadata.