Commit 6ab2d24a authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1

into sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
parents 8962ed3c 273b74c8
...@@ -933,7 +933,7 @@ JOIN::optimize() ...@@ -933,7 +933,7 @@ JOIN::optimize()
If having is not handled here, it will be checked before the row If having is not handled here, it will be checked before the row
is sent to the client. is sent to the client.
*/ */
if (having && if (tmp_having &&
(sort_and_group || (exec_tmp_table1->distinct && !group_list))) (sort_and_group || (exec_tmp_table1->distinct && !group_list)))
having= tmp_having; having= tmp_having;
......
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