mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 21:07:58 +02:00
* Merging revisions 45202 from trunk:
------------------------------------------------------------------------ r45202 | michael | 2020-05-01 14:16:47 +0200 (Fri, 01 May 2020) | 1 line * Always initialize autoincvalue in createdataset ------------------------------------------------------------------------ git-svn-id: branches/fixes_3_2@45203 -
This commit is contained in:
parent
9c83b6b8e7
commit
0c3f0c5682
@ -3542,8 +3542,9 @@ begin
|
||||
end
|
||||
else
|
||||
raise Exception.Create(SErrNoFieldsDefined);
|
||||
FAutoIncValue:=1;
|
||||
end;
|
||||
if FAutoIncValue<0 then
|
||||
FAutoIncValue:=1;
|
||||
// When a FileName is set, do not read from this file; we want empty dataset
|
||||
AStoreFileName:=FFileName;
|
||||
FFileName := '';
|
||||
|
Loading…
Reference in New Issue
Block a user