diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-06-10 10:13:55 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-06-10 10:13:55 +1000 |
commit | 48dbfc89cf532704a0e2fedff828a0a48476053f (patch) | |
tree | ab3a0f34f809f3496a6b4fc0b619612d5697a9e5 /source4/lib/ldb/tools/cmdline.c | |
parent | b660e51decaa1da99bce7eac80e6a6fad69b6dcb (diff) | |
download | samba-48dbfc89cf532704a0e2fedff828a0a48476053f.tar.gz samba-48dbfc89cf532704a0e2fedff828a0a48476053f.tar.bz2 samba-48dbfc89cf532704a0e2fedff828a0a48476053f.zip |
fixed server side sorting of case-insensitive strings
The sort module uses ldb_comparison_fold() as the comparison function
for case-insensitive attributes. In other places the function is being
used to produce a boolean, but for sorting we care about ordering.
The n1 - n2 return was sorting by length, not value
Diffstat (limited to 'source4/lib/ldb/tools/cmdline.c')
0 files changed, 0 insertions, 0 deletions