[Lazarus] Possible TQuery or resource reader problem, all (unix) targets

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Wed Jul 18 19:37:54 CEST 2012


John Landmesser wrote:

>> Mantised as 22463. It's something to do with parsing a non-trivial 
>> query, so far I'm not able to duplicate it with a one-liner.
>>
> 
> 
> Just an idea:
> 
> some days ago i had a problem with a parameter sitting at the end of a 
> line, followed directly by CRLF ( -> component StrHolder , Delphi 5 
> Windows)
> 
> Solution was to put a space after the parameter:
>  ":parameter SPACE(!!) CRLF".
> 
>  A problem with word boundries ?!
> 
> That simple space fixed it!
> 
> Second try:
> change you SQL to a oneliner.
> Query.SQL.Text := part1 + part2 + ...

No change if I edit it in situ. (OK, so there is a change: it's even 
more difficult to maintain :-)

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list