summaryrefslogtreecommitdiff
path: root/sql/opt_sum.cc
diff options
context:
space:
mode:
authortimour@mysql.com <>2004-08-27 16:37:13 +0300
committertimour@mysql.com <>2004-08-27 16:37:13 +0300
commite2cd3dd1ce66d59eaea06e18f04a6fa5f1848684 (patch)
tree7af5a09192d2042b9d236d1b98634b8b14be9601 /sql/opt_sum.cc
parenta5f063e0dab5a5c769596894a8d39bed2ab31875 (diff)
downloadmariadb-git-e2cd3dd1ce66d59eaea06e18f04a6fa5f1848684.tar.gz
WL#1724 "Min/Max Optimization for Queries with Group By Clause"
- after-review changes - merged with the source tree from 204-08-27
Diffstat (limited to 'sql/opt_sum.cc')
-rw-r--r--sql/opt_sum.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_sum.cc b/sql/opt_sum.cc
index 314decb7041..2507b65111b 100644
--- a/sql/opt_sum.cc
+++ b/sql/opt_sum.cc
@@ -336,7 +336,7 @@ int opt_sum_query(TABLE_LIST *tables, List<Item> &all_fields,COND *conds)
1 Otherwise
*/
-static bool simple_pred(Item_func *func_item, Item **args, bool *inv_order)
+bool simple_pred(Item_func *func_item, Item **args, bool *inv_order)
{
Item *item;
*inv_order= 0;