mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 12:49:33 +02:00
* Cursor can be nil, patch from Mattias Gaertner
git-svn-id: trunk@48702 -
This commit is contained in:
parent
599ba8cc2a
commit
2da4113310
@ -3137,7 +3137,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