Attached patch fixes (old! at least back to 3.3) bugs exposed by
fixing fdo#46843, about sort orders in the graphical query editor:
fdo#47370: when sort columns order does not match result columns
order, sort is reordered to result order
E.g. "SELECT a, b, c FROM foo ORDER BY c, a"
becomes "SELECT a, b, c FROM foo ORDER BY a, c"
fdo#47560: when several sort columns are "out of result order", all
are set to the last
E.g. "SELECT a, b, c FROM foo ORDER BY c, a, b"
becomes "SELECT a, b, c FROM foo ORDER BY c, b, b"
That is simply because those "additional" sort columns were
set in the *same* in-memory structure. Fix: allocate a
fresh structure for each new sort column.
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.