[Phpmyadmin-devel] 2.10.0-dev: No column sorting possible

Marc Delisle Marc.Delisle at cegepsherbrooke.qc.ca
Thu Aug 17 13:35:50 CEST 2006


Garvin Hicking a écrit :
> Hi Marc!
> 
>> Try the "better fix":
> 
> I can confirm that this fixes the problem I've reported. However I didn't dare
> touch the parser, so I hope it has no other side-effects. Like when ordering by
> "COUNT(x) AS tempsort" or other reserved words...
> 
> Best regards,
> Garvin
> 

Hi Garvin!
I don't fear side-effects because PMA would generate
ORDER BY `COUNT(x) as tempsort`
in which COUNT is not a reserved word.

If some side-effects are reported, we can always check specifically for 
ASC and DESC.
Marc




More information about the Developers mailing list