Eli Mesika has posted comments on this change.

Change subject: engine: Alphanumeric sorting order for db query results (no bz)
......................................................................


Patch Set 1: Do not submit

I am against the usage of the Regexp in the ORDER BY clause sent to the 
database.
Current order is OK , there is no need to change it to sort also by numbers , 
its a string !!!
And what you will do if you will get a data from a query, not from a search , 
force the SP to do the same trick ? no way !
I never seen any product that implements that.
just do the following 
create a directory rami with a1 a2 and a10 files 

[emesika@dhcp-1-95 [oVirt] rami]$ ls
a1  a10  a2
[emesika@dhcp-1-95 [oVirt] rami]$ mv a11 a10
[emesika@dhcp-1-95 [oVirt] rami]$ ls -1
a1
a10
a2

I raised my case

--
To view, visit http://gerrit.ovirt.org/5079
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ice3ae8b9f897690e777dc53b659359e5cefcd292
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Rami Vaknin <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Itamar Heim <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to