mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Issue #2156: unescape generated column expression when loading from IS.COLUMNS
This commit is contained in:
@ -5864,6 +5864,7 @@ begin
|
|||||||
Col.Collation := ColQuery.Col('COLLATION_NAME');
|
Col.Collation := ColQuery.Col('COLLATION_NAME');
|
||||||
// MSSQL has no expression
|
// MSSQL has no expression
|
||||||
Col.GenerationExpression := ColQuery.Col('GENERATION_EXPRESSION', True);
|
Col.GenerationExpression := ColQuery.Col('GENERATION_EXPRESSION', True);
|
||||||
|
Col.GenerationExpression := UnescapeString(Col.GenerationExpression);
|
||||||
// PG has no extra:
|
// PG has no extra:
|
||||||
ExtraText := ColQuery.Col('EXTRA', True);
|
ExtraText := ColQuery.Col('EXTRA', True);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user