summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.cc
diff options
context:
space:
mode:
authorhf@deer.mysql.r18.ru <>2002-12-17 19:33:25 +0400
committerhf@deer.mysql.r18.ru <>2002-12-17 19:33:25 +0400
commitd8c700891e34b3cec353e45f4ec9fb0bd1726bfe (patch)
tree314906891e628c9c38154fc9618195971f885a7c /sql/ha_berkeley.cc
parentc1e69d2cca45deb7fb639696b5e0aeb91ec43ace (diff)
downloadmariadb-git-d8c700891e34b3cec353e45f4ec9fb0bd1726bfe.tar.gz
Merging&testing
Diffstat (limited to 'sql/ha_berkeley.cc')
-rw-r--r--sql/ha_berkeley.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/ha_berkeley.cc b/sql/ha_berkeley.cc
index 1b8a2d9b3f8..07f367d7470 100644
--- a/sql/ha_berkeley.cc
+++ b/sql/ha_berkeley.cc
@@ -255,6 +255,7 @@ int berkeley_show_logs(Protocol *protocol)
/* Error is 0 here */
if (all_logs)
{
+ protocol->set_nfields(3);
for (a = all_logs, f = free_logs; *a; ++a)
{
protocol->prepare_for_resend();
@@ -2075,6 +2076,7 @@ static void print_msg(THD *thd, const char *table_name, const char *op_name,
msgbuf[sizeof(msgbuf) - 1] = 0; // healthy paranoia
DBUG_PRINT(msg_type,("message: %s",msgbuf));
+ protocol->set_nfields(4);
protocol->prepare_for_resend();
protocol->store(table_name);
protocol->store(op_name);