mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
use alias name instead of column name in order by clause (ITS#3629)
This commit is contained in:
parent
e350d3aebd
commit
0220a25f05
@ -129,7 +129,7 @@ backsql_make_attr_query(
|
||||
backsql_strfcat( &bb, "lbl",
|
||||
(ber_len_t)STRLENOF( " ORDER BY " BACKSQL_ALIASING_QUOTE ),
|
||||
" ORDER BY " BACKSQL_ALIASING_QUOTE,
|
||||
&at_map->bam_sel_expr,
|
||||
&at_map->bam_ad->ad_cname,
|
||||
(ber_len_t)STRLENOF( BACKSQL_ALIASING_QUOTE ),
|
||||
BACKSQL_ALIASING_QUOTE );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user