connectivity: fdo#43479: fix crash on DISTINCT:
Since commit f89f2b8b, OResultSet::sortRows() works on the rows after SELECT, not on full rows. So OResultSet::OpenImpl() has to be adapted to not use the mapping from selected columns to entries rows in m_aColMapping any more; instead, use the given ORDER BY clause for sorting. But first extend the sort order to cover all columns, so it is no longer necessary to call sortRows twice (this should be legal, because SQL says the order of rows that are equal in ORDER BY columns is unspecified). Signed-off-by:Lionel Elie Mamane <lionel@mamane.lu>
Showing
Please
register
or
sign in
to comment