summaryrefslogtreecommitdiff
path: root/innobase/lock
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-08-12 04:04:43 +0300
committerunknown <monty@hundin.mysql.fi>2002-08-12 04:04:43 +0300
commit514e60480d77236aedb1ab69c0e7754e060e495a (patch)
tree4ba65b7347df0448111dd1a3ab055bc2c8a1c6dc /innobase/lock
parent9b1930152db6ecd30b8cbcc7200af2baf7f82295 (diff)
parent071994ba3665ce2284de5e77a4f06c0b6e93eeeb (diff)
downloadmariadb-git-514e60480d77236aedb1ab69c0e7754e060e495a.tar.gz
merge with 3.23.52
BitKeeper/deleted/.del-global.h~e80d28157acfdcb5: Auto merged Docs/manual.texi: Auto merged include/my_no_pthread.h: Auto merged innobase/include/univ.i: Auto merged innobase/lock/lock0lock.c: Auto merged innobase/os/os0thread.c: Auto merged innobase/srv/srv0srv.c: Auto merged innobase/trx/trx0trx.c: Auto merged innobase/ut/ut0ut.c: Auto merged mysql-test/r/bigint.result: Auto merged mysql-test/t/bigint.test: Auto merged mysys/my_init.c: Auto merged mysys/my_net.c: Auto merged mysys/mysys_priv.h: Auto merged mysys/thr_rwlock.c: Auto merged sql/ha_innodb.h: Auto merged sql/sql_insert.cc: Auto merged include/my_sys.h: merge with 3.23 libmysql/Makefile.shared: merge with 3.23 mysql-test/mysql-test-run.sh: merge with 3.23 mysql-test/r/func_if.result: merge with 3.23 mysys/Makefile.am: merge with 3.23 mysys/my_gethostbyname.c: merge with 3.23 sql/ha_innodb.cc: merge with 3.23 sql/item_cmpfunc.cc: merge with 3.23 sql/mysqld.cc: merge with 3.23 sql/sql_show.cc: merge with 3.23
Diffstat (limited to 'innobase/lock')
-rw-r--r--innobase/lock/lock0lock.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/innobase/lock/lock0lock.c b/innobase/lock/lock0lock.c
index 0bc7e9b4166..7030dbf9130 100644
--- a/innobase/lock/lock0lock.c
+++ b/innobase/lock/lock0lock.c
@@ -2755,6 +2755,8 @@ lock_deadlock_occurs(
err_buf += sprintf(err_buf,
"*** WE ROLL BACK TRANSACTION (2)\n");
+ ut_a(strlen(lock_latest_err_buf) < 4100);
+
/*
sess_raise_error_low(trx, DB_DEADLOCK, lock->type_mode, table,
index, NULL, NULL, NULL);
@@ -3626,7 +3628,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;
}
@@ -3663,7 +3665,7 @@ loop:
return;
}
- if (buf_end - buf < 600) {
+ if (buf_end - buf < 900) {
return;
}