Skip to content
Permalink
Browse files
MDEV-14235 main.mysql_upgrade_noengine failed, results mismatch
  • Loading branch information
abarkov committed Nov 7, 2017
1 parent 2ba1616 commit 06a9a36
Showing 1 changed file with 3 additions and 2 deletions.
@@ -965,8 +965,9 @@ static int install_used_engines(void)
{
char buf[512];
DYNAMIC_STRING ds_result;
const char *query = "SELECT DISTINCT LOWER(engine) FROM information_schema.tables"
" WHERE table_comment LIKE 'Unknown storage engine%'";
const char *query = "SELECT DISTINCT LOWER(engine) AS c1 FROM information_schema.tables"
" WHERE table_comment LIKE 'Unknown storage engine%'"
" ORDER BY c1";

if (opt_systables_only || !from_before_10_1())
{

0 comments on commit 06a9a36

Please sign in to comment.