mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 18:12:05 +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,7 +1932,6 @@ begin
|
|||||||
Col.AllowNull := UpperCase(Results.Col('Null')) = 'YES';
|
Col.AllowNull := UpperCase(Results.Col('Null')) = 'YES';
|
||||||
Col.Collation := Results.Col('Collation', True);
|
Col.Collation := Results.Col('Collation', True);
|
||||||
Col.Comment := Results.Col('Comment', 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 Results.IsNull('Default') then begin
|
||||||
if Col.AllowNull then
|
if Col.AllowNull then
|
||||||
|
Reference in New Issue
Block a user