mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 22:14:25 +02:00
fcl-db: tests: set ID field value before post, because it is Required (not null)
git-svn-id: trunk@27130 -
This commit is contained in:
parent
02551d7129
commit
c47ff6946a
@ -1001,6 +1001,8 @@ begin
|
|||||||
begin
|
begin
|
||||||
Open;
|
Open;
|
||||||
Append;
|
Append;
|
||||||
|
FieldByName('ID').AsInteger := -1; // Required - not null
|
||||||
|
|
||||||
Fmemo := FieldByName('FMEMO');
|
Fmemo := FieldByName('FMEMO');
|
||||||
CheckTrue(Fmemo.IsNull, 'IsNull after Append');
|
CheckTrue(Fmemo.IsNull, 'IsNull after Append');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user