mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 09:26:15 +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
|
implementation
|
||||||
|
|
||||||
uses
|
uses
|
||||||
dbconst, sysutils, typinfo, dateutils;
|
dbconst, sysutils, dateutils;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
@ -190,7 +190,7 @@ begin
|
|||||||
checkerror(sqlite3_bind_blob(fstatement,I,pcharstr(str1), length(str1),@freebindstring));
|
checkerror(sqlite3_bind_blob(fstatement,I,pcharstr(str1), length(str1),@freebindstring));
|
||||||
end;
|
end;
|
||||||
else
|
else
|
||||||
databaseerror('Parameter type '+getenumname(typeinfo(tfieldtype),ord(P.datatype))+' not supported.');
|
DatabaseErrorFmt(SUnsupportedParameter, [Fieldtypenames[P.DataType], Self]);
|
||||||
end; { Case }
|
end; { Case }
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user