mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 18:12:05 +08:00
Bugfix: Setting a field to an empty string causes a WriteBuffer(nil, 0) which in turn apparently causes Memory to be nil. Therefore, interpret this as empty string rather than NULL. Fixes issue #316.
This commit is contained in:
@ -115,7 +115,7 @@ begin
|
||||
begin
|
||||
if Assigned(Self.Memory) then
|
||||
Blob.SetStream(Self)
|
||||
else Blob.SetStream(nil);
|
||||
else Blob.SetString('');
|
||||
try
|
||||
if Assigned(FField.Dataset) then
|
||||
THackedDataset(FField.DataSet).DataEvent(deFieldChange, LongInt(FField));
|
||||
|
Reference in New Issue
Block a user