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

 3051 Sunny Bains	2010-04-30
      Remove the assertion, the variable can be NULL due to the change in r3050.

    modified:
      storage/innobase/row/row0purge.c
      storage/innobase/srv/srv0srv.c
=== modified file 'storage/innobase/row/row0purge.c'
--- a/storage/innobase/row/row0purge.c	revid:sunny.bains@stripped
+++ b/storage/innobase/row/row0purge.c	revid:sunny.bains@stripped
@@ -795,8 +795,6 @@ row_purge_step(
 
 	ut_ad(que_node_get_type(node) == QUE_NODE_PURGE);
 
-	ut_a(node->undo_recs);
-
 	if (!(node->undo_recs == NULL || ib_vector_is_empty(node->undo_recs))) {
 		trx_purge_rec_t*purge_rec;
 

=== modified file 'storage/innobase/srv/srv0srv.c'
--- a/storage/innobase/srv/srv0srv.c	revid:sunny.bains@stripped
+++ b/storage/innobase/srv/srv0srv.c	revid:sunny.bains@stripped
@@ -3209,7 +3209,7 @@ srv_task_execute(void)
 
 		if (thr != NULL) {
 			que_run_threads(thr);
-
+			/* FIXME: Is this really required ? */
 			srv_wake_purge_thread_if_not_active();
 		}
 	}


Attachment: [text/bzr-bundle] bzr/sunny.bains@oracle.com-20100430053455-rtn8ismosoxt39mc.bundle
Thread
bzr commit into mysql-trunk-innodb branch (Sunny.Bains:3051) Sunny Bains30 Apr