* Minor code cleanup suggested by LacaK <lacak@zoznam.sk>

git-svn-id: trunk@16776 -
This commit is contained in:
michael 2011-01-18 09:31:49 +00:00
parent ae380229b6
commit 774978a687

View File

@ -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;