mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 05:00:07 +02:00
* Minor code cleanup suggested by LacaK <lacak@zoznam.sk>
git-svn-id: trunk@16776 -
This commit is contained in:
parent
ae380229b6
commit
774978a687
@ -99,7 +99,7 @@ Var
|
||||
implementation
|
||||
|
||||
uses
|
||||
dbconst, sysutils, typinfo, dateutils;
|
||||
dbconst, sysutils, dateutils;
|
||||
|
||||
type
|
||||
|
||||
@ -190,7 +190,7 @@ begin
|
||||
checkerror(sqlite3_bind_blob(fstatement,I,pcharstr(str1), length(str1),@freebindstring));
|
||||
end;
|
||||
else
|
||||
databaseerror('Parameter type '+getenumname(typeinfo(tfieldtype),ord(P.datatype))+' not supported.');
|
||||
DatabaseErrorFmt(SUnsupportedParameter, [Fieldtypenames[P.DataType], Self]);
|
||||
end; { Case }
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user