summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--myisam/mi_write.c2
-rw-r--r--pstack/Makefile.am2
-rw-r--r--sql/sql_select.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/myisam/mi_write.c b/myisam/mi_write.c
index e1b147d02e9..096d5829fed 100644
--- a/myisam/mi_write.c
+++ b/myisam/mi_write.c
@@ -158,7 +158,7 @@ err:
{
if (info->bulk_insert)
{
- int j;
+ uint j;
for (j=0 ; j < share->base.keys ; j++)
{
if (is_tree_inited(& info->bulk_insert[j]))
diff --git a/pstack/Makefile.am b/pstack/Makefile.am
index 86dddcb6f03..d94b3ba6aaf 100644
--- a/pstack/Makefile.am
+++ b/pstack/Makefile.am
@@ -24,7 +24,7 @@ noinst_HEADERS = bucomm.h debug.h ieee.h budbg.h demangle.h \
linuxthreads.h pstack.h pstacktrace.h
SRC= bucomm.c filemode.c linuxthreads.c rddbg.c \
debug.c ieee.c pstack.c stabs.c
-EXTRA_DIST= $SRC
+EXTRA_DIST= $(SRC)
if COMPILE_PSTACK
pkglib_LIBRARIES = libpstack.a
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 3ae337c47ed..c3e997531b1 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -312,7 +312,7 @@ mysql_select(THD *thd,TABLE_LIST *tables,List<Item> &fields,COND *conds,
#ifdef RESTRICTED_GROUP
if (join.sum_func_count && !group && (join.func_count || join.field_count))
{
- my_message(ER_WRONG_SUM_SELECT,ER(ER_WRONG_SUM_SELECT));
+ my_message(ER_WRONG_SUM_SELECT,ER(ER_WRONG_SUM_SELECT),MYF(0));
delete procedure;
DBUG_RETURN(-1);
}