summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2021-01-18 23:05:58 +0200
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2021-01-18 23:05:58 +0200
commit0253a30ebaf3cf1e1fcf987a231d5b75e6bf2e48 (patch)
treec4955d449be09fc85e532d35f1cbef0a6f8d50ed
parentfa900dfa80d9125a1225ce4b4b9d6de1996c2e26 (diff)
downloadmariadb-git-bb-10.6-vicentiu-MDEV-17796-check.tar.gz
-rw-r--r--sql/sql_select.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 0b063106b86..9deee87d34c 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -3824,14 +3824,6 @@ JOIN::create_postjoin_aggr_table(JOIN_TAB *tab, List<Item> *table_fields,
{
DBUG_PRINT("info",("Sorting for order"));
THD_STAGE_INFO(thd, stage_sorting_for_order);
- //DBUG_ASSERT(0);
- if (select_lex->limit_params.with_ties)
- {
- // TODO see when this thing happens!
- DBUG_ASSERT(0);
- if (alloc_order_fields(this, order))
- goto err;
- }
if (ordered_index_usage != ordered_index_order_by &&
!only_const_tables() &&