TDataset.GetFieldData returns undefined
Original Reporter info from Mantis: lxpbuaa
-
Reporter name: lxpbuaa
Original Reporter info from Mantis: lxpbuaa
- Reporter name: lxpbuaa
Description:
The function TDataset.GetFieldData of DB.pas and TBaseJSONDataSet.GetFieldData may return undefind value. With delphi, no undefind type, and assigning undefined to a field will report an error. Is it better to add a check like (if isUndefined(Result) then Result := null;) this at the end of the function? Thanks!
Mantis conversion info:
- Mantis ID: 38030
- Build: 1.4.32
- Fixed in version: trunk
- Fixed in revision: 915