Description:
Right now --enable-metadata enables all the metadata of result sets:
+Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags
+Decimals Charsetnr
+def Table 253 42 7 Y 0 31 8
+def Op 253 3 5 Y 0 31 8
+def Msg_type 253 3 6 Y 0 31 8
+def Msg_text 253 85 27 Y 0 31 8
Sometimes for testing purposes one is interested only in some columns, not in all metadata.
Is it possible to extend this syntax to specify which columns should be output?
Example:
--enable_metadata.charset
8
8
8
8
That will simplify analysis of the output and maintenance of tests (so that one doesn't have to go over all test cases and update them when metadata changes for all output for some reason.
How to repeat:
Use --enable_metadata
Suggested fix:
Extend --enable_metadata syntax.