mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 04:19:28 +02:00
* Merging revisions 48702 from trunk:
------------------------------------------------------------------------ r48702 | michael | 2021-02-17 22:07:57 +0100 (Wed, 17 Feb 2021) | 1 line * Cursor can be nil, patch from Mattias Gaertner ------------------------------------------------------------------------ git-svn-id: branches/fixes_3_2@48703 -
This commit is contained in:
parent
19126c8f4e
commit
0d71b5ede0
@ -3122,7 +3122,7 @@ begin
|
||||
UpdateServerIndexDefs;
|
||||
|
||||
FStatement.Execute;
|
||||
if not Cursor.FSelectable then
|
||||
if (Cursor=nil) or (not Cursor.FSelectable) then
|
||||
DatabaseError(SErrNoSelectStatement,Self);
|
||||
|
||||
// InternalInitFieldDef is only called after a prepare. i.e. not twice if
|
||||
|
Loading…
Reference in New Issue
Block a user