diff options
author | osku@127.(none) <> | 2005-08-12 11:40:02 +0300 |
---|---|---|
committer | osku@127.(none) <> | 2005-08-12 11:40:02 +0300 |
commit | b1c81e43ac901c0a0c42c24ba1d39e12adaa6f9b (patch) | |
tree | dfaba2d1acfe838316d2dbfe4bc96376f6c01635 /innobase/include | |
parent | 898aae5e0f13a3461699e447a559247474a5b2e1 (diff) | |
parent | 04056ffd3d6f300bc16d738f9450e93d42ef9f0b (diff) | |
download | mariadb-git-b1c81e43ac901c0a0c42c24ba1d39e12adaa6f9b.tar.gz |
Merge osalerma@bk-internal.mysql.com:/home/bk/mysql-5.0
into 127.(none):/home/osku/mysql-5.0
Diffstat (limited to 'innobase/include')
-rw-r--r-- | innobase/include/trx0trx.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/innobase/include/trx0trx.h b/innobase/include/trx0trx.h index a3ef755348c..5dbf003594f 100644 --- a/innobase/include/trx0trx.h +++ b/innobase/include/trx0trx.h @@ -329,17 +329,20 @@ trx_commit_step( /*============*/ /* out: query thread to run next, or NULL */ que_thr_t* thr); /* in: query thread */ + /************************************************************************** -Prints info about a transaction to the standard output. The caller must -own the kernel mutex and must have called -innobase_mysql_prepare_print_arbitrary_thd(), unless he knows that MySQL or -InnoDB cannot meanwhile change the info printed here. */ +Prints info about a transaction to the given file. The caller must own the +kernel mutex and must have called +innobase_mysql_prepare_print_arbitrary_thd(), unless he knows that MySQL +or InnoDB cannot meanwhile change the info printed here. */ void trx_print( /*======*/ - FILE* f, /* in: output stream */ - trx_t* trx); /* in: transaction */ + FILE* f, /* in: output stream */ + trx_t* trx, /* in: transaction */ + uint max_query_len); /* in: max query length to print, or 0 to + use the default max length */ #ifndef UNIV_HOTBACKUP /************************************************************************** |