Details
-
New Feature
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
Description
As of MariaDB 11.7.2 in the INFORMATION_SCHEMA.PARAMETERS table, parameters of stored procedures defined as TYPE OF another_column are simply reported as "TYPE OF" in the DATA_TYPE column:
In the DTD_IDENTIFIER column there is the full reference, like: TYPE OF "db"."table"."column".
For tools to be able to get the type of the parameter, I think that in the DATA_TYPE column the underlying native SQL type should be reported. Otherwise tools would be forced to parse the whole schema to be able to infer the type of a TYPE OF parameter.
Btw. TYPE OF and ROW TYPE OF are an awesome feature!