summaryrefslogtreecommitdiff
path: root/storage/innobase/include/sync0rw.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@oracle.com>2011-01-18 12:25:13 +0200
committerMarko Mäkelä <marko.makela@oracle.com>2011-01-18 12:25:13 +0200
commit359bddbee1a27864a38195e85fceab8a1678081d (patch)
tree2781ee9e3eac993ea0a074d51ca795b2b049f5f6 /storage/innobase/include/sync0rw.h
parent1f3975b4f8b22eef97b2d86b8ecbc17c90c5f1ea (diff)
downloadmariadb-git-359bddbee1a27864a38195e85fceab8a1678081d.tar.gz
Bug#59579 rw_lock_debug_print outputs to stderr
rw_lock_debug_print(): Add parameter FILE* for specifying the output stream. rw_lock_list_print_info(): Invoke rw_lock_debug_print() on file, not stderr.
Diffstat (limited to 'storage/innobase/include/sync0rw.h')
-rw-r--r--storage/innobase/include/sync0rw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/innobase/include/sync0rw.h b/storage/innobase/include/sync0rw.h
index 008df80a2c7..dd898557d6e 100644
--- a/storage/innobase/include/sync0rw.h
+++ b/storage/innobase/include/sync0rw.h
@@ -1,7 +1,7 @@
/******************************************************
The read-write lock (for threads, not for database transactions)
-(c) 1995 Innobase Oy
+Copyright (c) 1995, 2011, Oracle and/or its affiliates. All Rights Reserved.
Created 9/11/1995 Heikki Tuuri
*******************************************************/
@@ -409,6 +409,7 @@ Prints info of a debug struct. */
void
rw_lock_debug_print(
/*================*/
+ FILE* f, /* in: output stream */
rw_lock_debug_t* info); /* in: debug struct */
#endif /* UNIV_SYNC_DEBUG */