From 8e83a9d3153e36ab0dadf433aa795d9cff124886 Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang Date: Fri, 6 Feb 2015 02:38:14 -0800 Subject: [PATCH] Add a missing field for STATE_MUTEX_WAIT to global_state_table Summary: Add a missing field for STATE_MUTEX_WAIT to global_state_table. This will fix the failure of thread_list_test. Test Plan: thread_list_test --- util/thread_operation.h | 1 + 1 file changed, 1 insertion(+) diff --git a/util/thread_operation.h b/util/thread_operation.h index b4326f5bd..45521e227 100644 --- a/util/thread_operation.h +++ b/util/thread_operation.h @@ -54,6 +54,7 @@ struct StateInfo { // rows in this global table. static StateInfo global_state_table[] = { {ThreadStatus::STATE_UNKNOWN, ""}, + {ThreadStatus::STATE_MUTEX_WAIT, "Mutex Wait"}, }; #else