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

This commit is contained in:
0xacc
2024-02-07 02:16:29 +00:00
committed by ob-robot
parent 1be977d9d5
commit 6994719042
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)