mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 01:56:36 +08:00
Can't recall why date/time columns in a VIEW did not get a default text for CREATE VIEW. Undo that and probably fix the issue described on http://www.heidisql.com/forum.php?t=7109
This commit is contained in:
@ -1932,8 +1932,7 @@ begin
|
||||
Col.AllowNull := UpperCase(Results.Col('Null')) = 'YES';
|
||||
Col.Collation := Results.Col('Collation', True);
|
||||
Col.Comment := Results.Col('Comment', True);
|
||||
if Col.DataType.Category <> dtcTemporal then
|
||||
Col.DefaultText := Results.Col('Default');
|
||||
Col.DefaultText := Results.Col('Default');
|
||||
if Results.IsNull('Default') then begin
|
||||
if Col.AllowNull then
|
||||
Col.DefaultType := cdtNull
|
||||
|
Reference in New Issue
Block a user