[CP] [to #53429564] fix information_schema.routines DTD_IDENTIFIER for CHAR/VARCHAR

This commit is contained in:
0xacc
2023-11-27 13:11:57 +00:00
committed by ob-robot
parent 879c062c3b
commit 3084e3a949
2 changed files with 2 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -14358,6 +14358,7 @@ def_table_schema(
')'
)
WHEN rp.param_type IN (18, 20) THEN CONCAT(lower(v.data_type_str), '(', rp.param_scale, ')')
WHEN rp.param_type IN (22, 23) and rp.param_length > 0 THEN CONCAT(lower(v.data_type_str), '(', rp.param_length, ')')
ELSE lower(v.data_type_str)
END
AS CHAR(4194304)