Subject Re: [IBO] Dangerous query behaviour - IBO 4.2.Ib
Author Jason Wharton
Sounds scary. Not sure what I can do about it.
I'll log this as an item to look into.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com

-- We may not have it all together --
-- But together we have it all --


----- Original Message -----
From: "Guido Salvestroni" <gsalvest@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, February 24, 2003 6:14 PM
Subject: [IBO] Dangerous query behaviour - IBO 4.2.Ib


> Hello Jason & All,
>
> If you put in a IBOQuery a wrong SQL like :
>
> SELECT * FROM MY_TABLE
> ORDER BY DESCR DESC
> WHERE COD LIKE 'XX%'
>
> the query parser doesn't raise an exception (the ORDER can't preceed the
WHERE
> clause).
> The WHERE clause is simply TRUNCATED and the query fetches all records.
>
> Any tought ?
>
>
>
> Best regards,
>
> Ing. Guido Salvestroni
> CONSIST Srl.