Skip to content
Snippets Groups Projects
Commit 81b57553 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

try with "order by"...

parent ea6f5bad
Branches
Tags
No related merge requests found
......@@ -142,6 +142,18 @@ backsql_make_attr_query(
&at_map->bam_join_where );
}
#ifdef BACKSQL_ALIASING_QUOTE
backsql_strfcat( &bb, "lcbc",
(ber_len_t)STRLENOF( " ORDER BY " ), " ORDER BY ",
BACKSQL_ALIASING_QUOTE,
&at_map->bam_sel_expr,
BACKSQL_ALIASING_QUOTE );
#else /* ! BACKSQL_ALIASING_QUOTE */
backsql_strfcat( &bb, "lb",
(ber_len_t)STRLENOF( " ORDER BY " ), " ORDER BY ",
&at_map->bam_sel_expr );
#endif /* ! BACKSQL_ALIASING_QUOTE */
at_map->bam_query = bb.bb_val.bv_val;
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment