Commit 789135dd authored by unknown's avatar unknown

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 8ab01b33 838870d5
...@@ -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