[Commits] 4601007: Fix compile warning

Sergei Petrunia psergey at askmonty.org
Tue Jul 15 16:01:44 EEST 2014


revision-id: 4601007c09f0bb1494df6b5519d07ea174ff39f0
parent(s): 772c419e069043c15377f61cb7be694de1b724d9
committer: Sergei Petrunia
branch nick: webscalesql-5.6
timestamp: 2014-07-15 17:01:44 +0400
message:

Fix compile warning

-----------------------

 storage/rocksdb/ha_rocksdb.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/storage/rocksdb/ha_rocksdb.cc b/storage/rocksdb/ha_rocksdb.cc
index 0d940e2..bec6d98 100644
--- a/storage/rocksdb/ha_rocksdb.cc
+++ b/storage/rocksdb/ha_rocksdb.cc
@@ -110,13 +110,13 @@ static uchar* rocksdb_get_key(ROCKSDB_SHARE *share, size_t *length,
 */
 PSI_stage_info stage_waiting_on_row_lock= { 0, "Waiting for row lock", 0};
 
+#ifdef HAVE_PSI_INTERFACE
 static PSI_stage_info *all_rocksdb_stages[]=
 {
   & stage_waiting_on_row_lock
 };
 
 
-#ifdef HAVE_PSI_INTERFACE
 static PSI_mutex_key ex_key_mutex_example, ex_key_mutex_ROCKSDB_SHARE_mutex;
 
 static PSI_mutex_info all_rocksdb_mutexes[]=


More information about the commits mailing list