summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BitKeeper/etc/logging_ok1
-rw-r--r--libmysqld/Makefile.am4
-rw-r--r--sql/mysql_priv.h2
-rw-r--r--sql/sql_parse.cc2
4 files changed, 5 insertions, 4 deletions
diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok
index d16de3077f3..441e8a1f1c1 100644
--- a/BitKeeper/etc/logging_ok
+++ b/BitKeeper/etc/logging_ok
@@ -57,6 +57,7 @@ jcole@main.burghcom.com
jcole@mugatu.spaceapes.com
jcole@sarvik.tfr.cafe.ee
jcole@tetra.spaceapes.com
+joerg@mysql.com
jorge@linux.jorge.mysql.com
kaj@work.mysql.com
konstantin@mysql.com
diff --git a/libmysqld/Makefile.am b/libmysqld/Makefile.am
index 54c7ada4a85..ef0f61b4234 100644
--- a/libmysqld/Makefile.am
+++ b/libmysqld/Makefile.am
@@ -89,9 +89,9 @@ libmysqld.a: libmysqld_int.a $(INC_LIB)
cd tmp ; \
for file in *.a ; do \
bfile=`basename $$file .a` ; \
- ar x $$file; \
+ $(AR) x $$file; \
for obj in *.o ; do mv $$obj $${bfile}_$$obj ; done ; \
- ar q ../libmysqld_int2.a *.o ; \
+ $(AR) q ../libmysqld_int2.a *.o ; \
rm -f *.o ; \
done ; \
cd .. ; \
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h
index f53e14878b0..d70be1cb9f9 100644
--- a/sql/mysql_priv.h
+++ b/sql/mysql_priv.h
@@ -477,7 +477,7 @@ int mysql_insert(THD *thd,TABLE_LIST *table,List<Item> &fields,
void kill_delayed_threads(void);
int mysql_delete(THD *thd, TABLE_LIST *table, COND *conds, ORDER *order,
ha_rows rows, ulong options);
-int mysql_truncate(THD *thd, TABLE_LIST *table_list, bool dont_send_ok=0);
+int mysql_truncate(THD *thd, TABLE_LIST *table_list, bool dont_send_ok);
TABLE *open_ltable(THD *thd, TABLE_LIST *table_list, thr_lock_type update);
TABLE *open_table(THD *thd,const char *db,const char *table,const char *alias,
bool *refresh);
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index f4887c6a8e6..14fc748c288 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -2046,7 +2046,7 @@ mysql_execute_command(void)
send_error(&thd->net,ER_LOCK_OR_ACTIVE_TRANSACTION,NullS);
goto error;
}
- res=mysql_truncate(thd,tables);
+ res=mysql_truncate(thd, tables, 0);
break;
case SQLCOM_DELETE:
{