mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-25 20:13:32 +02:00
* add ftfixedchar to escape clause of getsqltext, Mantis #19556 Patch by Lacak2.
git-svn-id: trunk@18990 -
This commit is contained in:
parent
3e8a3eb14c
commit
4d1c29415a
@ -328,7 +328,7 @@ var esc_str : pchar;
|
||||
|
||||
begin
|
||||
if (not assigned(param)) or param.IsNull then Result := 'Null'
|
||||
else if param.DataType in [ftString,ftBlob,ftMemo] then
|
||||
else if param.DataType in [ftString,ftFixedChar,ftBlob,ftMemo] then
|
||||
Result := '''' + EscapeString(Param.AsString) + ''''
|
||||
else Result := inherited GetAsSqlText(Param);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user