List:Commits« Previous MessageNext Message »
From:marko.makela Date:November 3 2010 12:38pm
Subject:bzr commit into mysql-5.1-innodb branch (marko.makela:3654)
View as plain text  
#At file:///home/marko/innobase/dev/mysql2a/5.1-innodb/ based on revid:marko.makela@strippedb3c8yp1mx6m1

 3654 Marko Mäkelä	2010-11-03
      rw_lock_debug_print(): Output the thread ID in unsigned format.

    modified:
      storage/innobase/sync/sync0rw.c
      storage/innodb_plugin/sync/sync0rw.c
=== modified file 'storage/innobase/sync/sync0rw.c'
--- a/storage/innobase/sync/sync0rw.c	revid:marko.makela@stripped1912-tlsgb3c8yp1mx6m1
+++ b/storage/innobase/sync/sync0rw.c	revid:marko.makela@strippedyb5j41n
@@ -888,7 +888,7 @@ rw_lock_debug_print(
 
 	rwt	  = info->lock_type;
 
-	fprintf(stderr, "Locked: thread %ld file %s line %ld  ",
+	fprintf(stderr, "Locked: thread %lu file %s line %lu  ",
 		(ulong) os_thread_pf(info->thread_id), info->file_name,
 		(ulong) info->line);
 	if (rwt == RW_LOCK_SHARED) {

=== modified file 'storage/innodb_plugin/sync/sync0rw.c'
--- a/storage/innodb_plugin/sync/sync0rw.c	revid:marko.makela@stripped2-tlsgb3c8yp1mx6m1
+++ b/storage/innodb_plugin/sync/sync0rw.c	revid:marko.makela@strippedj7yb5j41n
@@ -988,7 +988,7 @@ rw_lock_debug_print(
 
 	rwt	  = info->lock_type;
 
-	fprintf(stderr, "Locked: thread %ld file %s line %ld  ",
+	fprintf(stderr, "Locked: thread %lu file %s line %lu  ",
 		(ulong) os_thread_pf(info->thread_id), info->file_name,
 		(ulong) info->line);
 	if (rwt == RW_LOCK_SHARED) {

Attachment: [text/bzr-bundle] bzr/marko.makela@oracle.com-20101103123836-kob2w9vj7yb5j41n.bundle
Thread
bzr commit into mysql-5.1-innodb branch (marko.makela:3654) marko.makela3 Nov