List:Commits« Previous MessageNext Message »
From:Sunny Bains Date:April 28 2010 11:39pm
Subject:bzr commit into mysql-trunk-innodb branch (Sunny.Bains:3049)
View as plain text  
#At file:///Users/sunny/innodb/bzr/mysql-trunk-innodb/ based on revid:sunny.bains@stripped

 3049 Sunny Bains	2010-04-29
      Fix whitespace.

    modified:
      storage/innobase/trx/trx0purge.c
=== modified file 'storage/innobase/trx/trx0purge.c'
--- a/storage/innobase/trx/trx0purge.c	revid:sunny.bains@stripped
+++ b/storage/innobase/trx/trx0purge.c	revid:sunny.bains@stripped
@@ -388,7 +388,7 @@ trx_purge_add_update_undo_to_history(
 
 	os_atomic_inc_ulint(&kernel_mutex, &trx_sys->rseg_history_len, 1);
 
-	if (trx_sys->rseg_history_len 
+	if (trx_sys->rseg_history_len
 	    > (srv_purge_batch_size * srv_n_purge_threads)) {
 
 		/* Inform the purge thread that there is work to do. */
@@ -1185,10 +1185,10 @@ trx_purge(
 			srv_wake_worker_threads(n_tasks);
 		}
 
- 		mutex_enter(&purge_sys->mutex);
+		mutex_enter(&purge_sys->mutex);
 
 		mutex_enter(&kernel_mutex);
-  	}
+	}
 
 	mutex_exit(&kernel_mutex);
 
@@ -1269,7 +1269,7 @@ trx_purge(
 
 			os_atomic_inc_ulint(
 				&purge_sys->mutex,
-			       	&purge_sys->n_submitted, 1);
+				&purge_sys->n_submitted, 1);
 
 			srv_que_task_enqueue_low(thr);
 		}
@@ -1289,7 +1289,6 @@ trx_purge(
 		que_run_threads(thr);
 
 		if (srv_print_thread_releases) {
- 
 			fputs("Starting purge\n", stderr);
 		}
 
@@ -1299,7 +1298,7 @@ trx_purge(
 				"Purge ends; pages handled %lu\n",
 				(ulong) purge_sys->n_pages_handled);
 		}
-  	}
+	}
 
 	return(purge_sys->n_pages_handled - purge_sys->n_pages_handled_start);
 }


Attachment: [text/bzr-bundle] bzr/sunny.bains@oracle.com-20100428233908-bqlodl63x8dchx3d.bundle
Thread
bzr commit into mysql-trunk-innodb branch (Sunny.Bains:3049) Sunny Bains29 Apr