Commit 5f8bcac2 authored by Igor Babaev's avatar Igor Babaev

Fixed a compiler warning.

parent 1c6a6951
......@@ -18154,7 +18154,7 @@ get_sort_by_table(ORDER *a,ORDER *b, List<TABLE_LIST> &tables)
if (!map || (map & (RAND_TABLE_BIT | OUTER_REF_TABLE_BIT)))
DBUG_RETURN(0);
while ((table= ti++) && !(map & table->table->map));
while ((table= ti++) && !(map & table->table->map)) ;
if (map != table->table->map)
DBUG_RETURN(0); // More than one table
DBUG_PRINT("exit",("sort by table: %d",table->table->tablenr));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment