IDE creates a spurious TQuery property when parsing complex SQL
Original Reporter info from Mantis: MarkMLl @MarkMLl
-
Reporter name: Mark Morgan Lloyd
Original Reporter info from Mantis: MarkMLl @MarkMLl
- Reporter name: Mark Morgan Lloyd
Description:
Attached project has a moderately complex query embedded in the TQuery object. On Lazarus trunk 36903 this works fine, but at some point after that the query parsing has changed so that it thinks it's seeing a spurious parameter called 00'::interval as well as the correct one (tz). In all cases with FPC 2.7.1, revision appears not to matter as long as the IDE etc. compiles.
I've got this on SPARC (Solaris+Linux), PPC (Linux), x86 (Linux). Not tried ARM or Windows. Project doesn't need to be compiled to see the problem, only opened.
Additional information:
I've tried to simplify the SQL with limited success. At one point I thought I was able to demonstrate the problem with ~4 lines of query, but when I restarted the IDE it had gone.
Mantis conversion info:
- Mantis ID: 22463
- Fixed in version: 3.0.0
- Fixed in revision: 31155 (#2f97bc7f)