ORDER BY

Ivan Smahin IvanSmahin at public.kherson.ua
Sat Aug 7 13:31:07 CDT 2004


Hello Ruslan,

Saturday, August 7, 2004, 1:20:09 PM, you wrote:

RZ> On 8/7/04 12:44 PM, "Ivan Smahin"
RZ> <IvanSmahin at public.kherson.ua> wrote:

>> RZ> Ivan,
>> 
>> RZ> Add Please test
>> 
>> RZ> SELECT f1, f2
>> RZ> FROM T
>> RZ> ORDER BY f3
>> 
>> RZ> And check what error is throw,
>> RZ> And it seems that error message do not display name "f3"
>> 
>> 
>> Tests are added and passed correctly.

RZ> What means correctly ?

RZ> Test 1 throw some error ?
RZ> Right ?


>> 1.
>> SELECT f1, f2
>> FROM T
>> ORDER BY f3
>> 
>> 2.
>> SELECT f1, f2
>> FROM T
>> ORDER BY 3

RZ> Test 2, must be in the Test_Error_... File
RZ> I think! 

>> Some minor changes have been done in the Node_Select_OrderBy_Elem node
>> and void Node_Select::DoSorting( void ) method.


Yes, both tests are in the error-tests area.
Both tests generate xFieldError exception.



-- 
Best regards,
 Ivan                            mailto:IvanSmahin at public.kherson.ua



More information about the Valentina-beta mailing list