mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-20 11:49:25 +02:00
fcl-db: do not include <> characters to parameter names. Issue #37142
git-svn-id: trunk@45494 -
This commit is contained in:
parent
362d2b50df
commit
5b3c349911
@ -389,7 +389,7 @@ begin
|
|||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
ParamNameStart:=p;
|
ParamNameStart:=p;
|
||||||
while not (p^ in (SQLDelimiterCharacters+[#0,'=','+','-','*','\','/','[',']','|'])) do
|
while not (p^ in (SQLDelimiterCharacters+[#0,'=','+','-','*','\','/','[',']','|','<','>'])) do
|
||||||
Inc(p);
|
Inc(p);
|
||||||
ParamName:=Copy(ParamNameStart,1,p-ParamNameStart);
|
ParamName:=Copy(ParamNameStart,1,p-ParamNameStart);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user