diff options
author | heikki@hundin.mysql.fi <> | 2002-08-09 15:34:23 +0300 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2002-08-09 15:34:23 +0300 |
commit | edf3929cd589d150adccefc754a979ce7e5d7e36 (patch) | |
tree | e78c3490783ca4e40f59b2f8898bc10f53ec2555 /innobase | |
parent | 933417c1fed0b0d8ff9eb27ba7ce3d9086a470a7 (diff) | |
download | mariadb-git-edf3929cd589d150adccefc754a979ce7e5d7e36.tar.gz |
ha_innobase.cc, trx0trx.h, lock0lock.c, trx0trx.c:
Add some more safety margin to buffer sizes in prints
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/include/trx0trx.h | 2 | ||||
-rw-r--r-- | innobase/lock/lock0lock.c | 4 | ||||
-rw-r--r-- | innobase/trx/trx0trx.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/innobase/include/trx0trx.h b/innobase/include/trx0trx.h index 6e98f22c34b..84d85fcaff6 100644 --- a/innobase/include/trx0trx.h +++ b/innobase/include/trx0trx.h @@ -262,7 +262,7 @@ void trx_print( /*======*/ char* buf, /* in/out: buffer where to print, must be at least - 500 bytes */ + 800 bytes */ trx_t* trx); /* in: transaction */ diff --git a/innobase/lock/lock0lock.c b/innobase/lock/lock0lock.c index 2f5ade656d9..9b3719867f0 100644 --- a/innobase/lock/lock0lock.c +++ b/innobase/lock/lock0lock.c @@ -3625,7 +3625,7 @@ lock_print_info( trx = UT_LIST_GET_FIRST(trx_sys->mysql_trx_list); while (trx) { - if (buf_end - buf < 600) { + if (buf_end - buf < 900) { return; } @@ -3662,7 +3662,7 @@ loop: return; } - if (buf_end - buf < 600) { + if (buf_end - buf < 900) { return; } diff --git a/innobase/trx/trx0trx.c b/innobase/trx/trx0trx.c index 48b1ecc59f2..94a11042de5 100644 --- a/innobase/trx/trx0trx.c +++ b/innobase/trx/trx0trx.c @@ -1465,7 +1465,7 @@ void trx_print( /*======*/ char* buf, /* in/out: buffer where to print, must be at least - 500 bytes */ + 800 bytes */ trx_t* trx) /* in: transaction */ { char* start_of_line; |