persistentstorage/sql/SRC/Server/SqlSrvResourceProfiler.cpp
changeset 40 b8bdbc8f59c7
parent 31 ba1c4f4a893f
--- a/persistentstorage/sql/SRC/Server/SqlSrvResourceProfiler.cpp	Thu Jul 08 12:09:58 2010 +0100
+++ b/persistentstorage/sql/SRC/Server/SqlSrvResourceProfiler.cpp	Thu Aug 12 11:53:23 2010 +0100
@@ -76,10 +76,10 @@
 static TBool TheSqlSrvProfilerTraceToFile = EFalse;
 
 //"Prepared" and "Executed" SQL statement counters
-static TInt TheSqlSrvProfilerPreparedCnt8;
-static TInt TheSqlSrvProfilerPreparedCnt16;
-static TInt TheSqlSrvProfilerExecutedCnt8;
-static TInt TheSqlSrvProfilerExecutedCnt16;
+static TInt TheSqlSrvProfilerPreparedCnt8 = 0;
+static TInt TheSqlSrvProfilerPreparedCnt16 = 0;
+static TInt TheSqlSrvProfilerExecutedCnt8 = 0;
+static TInt TheSqlSrvProfilerExecutedCnt16 = 0;
 
 ///////////////////////////////// IPC counters ///////////////////////////////////////