mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Fix detection logic in table editor for columns which allow NULL. Fixes issue #1270.
This commit is contained in:
@ -355,6 +355,9 @@ begin
|
||||
Props[3] := BoolToStr(True);
|
||||
ColDefaultType := cdtNull;
|
||||
ColDefaultText := 'NULL';
|
||||
// Sporadically there is a "NULL" found at this position.
|
||||
if UpperCase(Copy(ColSpec, 1, 4)) = 'NULL' then
|
||||
Delete(ColSpec, 1, 5);
|
||||
end;
|
||||
|
||||
// Default value
|
||||
|
Reference in New Issue
Block a user