diff options
author | unknown <osku@127.(none)> | 2005-08-12 11:39:19 +0300 |
---|---|---|
committer | unknown <osku@127.(none)> | 2005-08-12 11:39:19 +0300 |
commit | babc9f5d2bce17bfcbff2d4d1ab6b451059ab954 (patch) | |
tree | 21b7de1b8632c1f1729e35528e580de73fb20e60 /innobase/btr | |
parent | 5329be868e6dc44bd78e5b5540b37ee8cb204513 (diff) | |
download | mariadb-git-babc9f5d2bce17bfcbff2d4d1ab6b451059ab954.tar.gz |
InnoDB: Print more than 300 characters of queries in various error conditions,
most notably deadlocked ones in SHOW INNODB STATUS. Fixes bug #7819.
innobase/btr/btr0pcur.c:
Adapt to changes in trx_print.
innobase/include/trx0trx.h:
Add max_query_len parameter to trx_print.
innobase/lock/lock0lock.c:
Adapt to changes in trx_print.
innobase/row/row0ins.c:
Adapt to changes in trx_print.
innobase/row/row0sel.c:
Adapt to changes in trx_print.
innobase/row/row0umod.c:
Adapt to changes in trx_print.
innobase/row/row0upd.c:
Adapt to changes in trx_print.
innobase/srv/srv0srv.c:
Adapt to changes in trx_print.
innobase/trx/trx0trx.c:
Add max_query_len parameter to trx_print.
sql/ha_innodb.cc:
Add max_query_len parameter to innobase_mysql_print_thd.
Diffstat (limited to 'innobase/btr')
-rw-r--r-- | innobase/btr/btr0pcur.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/btr/btr0pcur.c b/innobase/btr/btr0pcur.c index cb398b4afab..5dbbca0b17d 100644 --- a/innobase/btr/btr0pcur.c +++ b/innobase/btr/btr0pcur.c @@ -210,7 +210,7 @@ btr_pcur_restore_position( && cursor->pos_state != BTR_PCUR_IS_POSITIONED)) { ut_print_buf(stderr, (const byte*)cursor, sizeof(btr_pcur_t)); if (cursor->trx_if_known) { - trx_print(stderr, cursor->trx_if_known); + trx_print(stderr, cursor->trx_if_known, 0); } ut_error; |