Commit 65bab8b4 authored by unknown's avatar unknown

Merge bk-internal:/home/bk/mysql-4.0/

into serg.mylan:/usr/home/serg/Abk/mysql-4.0
parents bf346b74 b5470b4d
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
/* Functions to handle space-packed-records and blobs */ /* Functions to handle space-packed-records and blobs */
#include "myisamdef.h" #include "myisamdef.h"
#include <assert.h>
/* Enough for comparing if number is zero */ /* Enough for comparing if number is zero */
static char zero_string[]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; static char zero_string[]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
......
This diff is collapsed.
...@@ -906,9 +906,9 @@ mysql_select(THD *thd,TABLE_LIST *tables,List<Item> &fields,COND *conds, ...@@ -906,9 +906,9 @@ mysql_select(THD *thd,TABLE_LIST *tables,List<Item> &fields,COND *conds,
if (join.group || join.tmp_table_param.sum_func_count || if (join.group || join.tmp_table_param.sum_func_count ||
(procedure && (procedure->flags & PROC_GROUP))) (procedure && (procedure->flags & PROC_GROUP)))
{ {
alloc_group_fields(&join,group); if (alloc_group_fields(&join,group) ||
setup_copy_fields(thd, &join.tmp_table_param,all_fields); setup_copy_fields(thd, &join.tmp_table_param,all_fields) ||
if (make_sum_func_list(&join,all_fields) || thd->fatal_error) make_sum_func_list(&join,all_fields) || thd->fatal_error)
goto err; /* purecov: inspected */ goto err; /* purecov: inspected */
} }
if (group || order) if (group || order)
......
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