summaryrefslogtreecommitdiff
path: root/storage/innobase/sync/sync0arr.c
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/sync/sync0arr.c
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/sync/sync0arr.c')
-rw-r--r--storage/innobase/sync/sync0arr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/sync/sync0arr.c b/storage/innobase/sync/sync0arr.c
index 154593a9035..41d3492c8c9 100644
--- a/storage/innobase/sync/sync0arr.c
+++ b/storage/innobase/sync/sync0arr.c
@@ -1,7 +1,7 @@
/******************************************************
The wait array used in synchronization primitives
-(c) 1995 Innobase Oy
+Copyright (c) 1995, 2011, Oracle and/or its affiliates. All Rights Reserved.
Created 9/5/1995 Heikki Tuuri
*******************************************************/
@@ -709,7 +709,7 @@ print:
fprintf(stderr, "rw-lock %p ",
(void*) lock);
sync_array_cell_print(stderr, cell);
- rw_lock_debug_print(debug);
+ rw_lock_debug_print(stderr, debug);
return(TRUE);
}
}