mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 05:49:12 +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: tags/release_3_2_2_rc1@48704 -
This commit is contained in:
parent
ee8bb72f68
commit
f4ee3fdafc
@ -3122,7 +3122,7 @@ begin
|
|||||||
UpdateServerIndexDefs;
|
UpdateServerIndexDefs;
|
||||||
|
|
||||||
FStatement.Execute;
|
FStatement.Execute;
|
||||||
if not Cursor.FSelectable then
|
if (Cursor=nil) or (not Cursor.FSelectable) then
|
||||||
DatabaseError(SErrNoSelectStatement,Self);
|
DatabaseError(SErrNoSelectStatement,Self);
|
||||||
|
|
||||||
// InternalInitFieldDef is only called after a prepare. i.e. not twice if
|
// InternalInitFieldDef is only called after a prepare. i.e. not twice if
|
||||||
|
Loading…
Reference in New Issue
Block a user