From e643b650698ae76322bb99cc21b20acb629dfc4e Mon Sep 17 00:00:00 2001 From: Alexey Kopytov Date: Thu, 11 Jan 2007 18:55:02 +0000 Subject: [PATCH] Increment other_ops on transaction commits as well --- sysbench/db_driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sysbench/db_driver.c b/sysbench/db_driver.c index 6f996a9..4225c9d 100644 --- a/sysbench/db_driver.c +++ b/sysbench/db_driver.c @@ -906,6 +906,7 @@ void db_update_thread_stats(int id, db_query_type_t type) thread_stats[id].write_ops++; break; case DB_QUERY_TYPE_COMMIT: + thread_stats[id].other_ops++; thread_stats[id].transactions++; break; case DB_QUERY_TYPE_OTHER: