summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-12-14 18:58:52 +0100
committerSergei Golubchik <serg@mariadb.org>2015-12-15 20:25:04 +0100
commit7a2136433280fa5c38997bbd4b41121b8e727ca0 (patch)
tree3c4974b3d98f69450a234fa7ab04cab3ec8c6fd7 /sql
parent15f7f5c6bb4eb8ee8d868bb991f25b18d36f64ec (diff)
downloadmariadb-git-7a2136433280fa5c38997bbd4b41121b8e727ca0.tar.gz
after-merge fix partitioning tests
* use --sort_result in test files as needed * remove old and wrong mariadb-5.3 related partitioning hack from ha_tokudb.cc
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_select.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 25d6f723628..18259a27bc7 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -20013,6 +20013,7 @@ uint find_shortest_key(TABLE *table, const key_map *usable_keys)
min_cost= cost;
best=nr;
}
+ DBUG_ASSERT(best < MAX_KEY);
}
}
}