--- a/persistentstorage/sql/SRC/Server/SqlSrvResourceProfiler.cpp Mon Jun 21 17:37:53 2010 +0300
+++ b/persistentstorage/sql/SRC/Server/SqlSrvResourceProfiler.cpp Thu Aug 19 11:36:21 2010 +0300
@@ -78,10 +78,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 ///////////////////////////////////////