diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 2fbdf05e826c988a282f004c22a476af0d24e84c..abce1322ddc5f75fbb765a45dd5d57b793da29ce 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -1216,7 +1216,6 @@ mysql_execute_command(void)
 #endif
   }
   
-  thread_safe_increment(com_stat[lex->sql_command],&LOCK_thread_count);
   /*
     Skip if we are in the slave thread, some table rules have been given
     and the table list says the query should not be replicated