summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2002-08-09 15:34:23 +0300
committerunknown <heikki@hundin.mysql.fi>2002-08-09 15:34:23 +0300
commitb9b404b1ce9597d2e16a6be8c45e313d4f1a802a (patch)
treee78c3490783ca4e40f59b2f8898bc10f53ec2555 /sql
parent6a246376dc8f4d3397844c75641a8e893ed5f11c (diff)
downloadmariadb-git-b9b404b1ce9597d2e16a6be8c45e313d4f1a802a.tar.gz
ha_innobase.cc, trx0trx.h, lock0lock.c, trx0trx.c:
Add some more safety margin to buffer sizes in prints innobase/trx/trx0trx.c: Add some more safety margin to buffer sizes in prints innobase/lock/lock0lock.c: Add some more safety margin to buffer sizes in prints innobase/include/trx0trx.h: Add some more safety margin to buffer sizes in prints sql/ha_innobase.cc: Add some more safety margin to buffer sizes in prints
Diffstat (limited to 'sql')
-rw-r--r--sql/ha_innobase.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_innobase.cc b/sql/ha_innobase.cc
index 251e6c3ca7e..5e6d4b5f50c 100644
--- a/sql/ha_innobase.cc
+++ b/sql/ha_innobase.cc
@@ -260,7 +260,7 @@ void
innobase_mysql_print_thd(
/*=====================*/
char* buf, /* in/out: buffer where to print, must be at least
- 300 bytes */
+ 400 bytes */
void* input_thd)/* in: pointer to a MySQL THD object */
{
THD* thd;
@@ -338,7 +338,7 @@ innobase_mysql_print_thd(
buf=strnmov(buf, thd->query, 150);
}
*buf='\n';
- /* Here we should add '\0' to the nd of output to mark its end */
+ /* Here we should add '\0' to the end of output to mark its end */
#endif
}
}