mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
use alias name instead of column name in order by clause (ITS#3629)
This commit is contained in:
parent
e350d3aebd
commit
0220a25f05
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue