uni parser problem

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
pincopallino
Posts: 16
Joined: Wed 03 Oct 2012 19:52

uni parser problem

Post by pincopallino » Wed 02 Mar 2016 12:08

Hi,
if you enter this query in a TUniQuery

Code: Select all

SELECT * FROM mytable;
it works. Note the semicolon at end.
But when try to change the order using SetOrderBy the ORDER BY is appended after the semicolon, causing an error.
When using the FilterSQL property the WHERE clause is inserted properly (if there is not an ORDER BY).
Off course to solve just remove the semicolon!
Still remain a small bug.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: uni parser problem

Post by AlexP » Wed 02 Mar 2016 12:45

Hello,

Thank you for the information, we have reproduced and fixed the issue. This fix will be included in the next version.

Post Reply