* add ftfixedchar to escape clause of getsqltext, Mantis #19556 Patch by Lacak2.

git-svn-id: trunk@18990 -
This commit is contained in:
marco 2011-09-06 12:09:38 +00:00
parent 3e8a3eb14c
commit 4d1c29415a

View File

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