persistentstorage/sql/SRC/Server/SqlSrvMain.cpp
branchRCL_3
changeset 11 211563e4b919
parent 9 667e88a979d7
child 21 28839de615b4
equal deleted inserted replaced
10:31a8f755b7fe 11:211563e4b919
   297 #ifndef SQLSRV_STARTUP_TEST
   297 #ifndef SQLSRV_STARTUP_TEST
   298 	//Start the server only in "normal" builds, not in the case where t_sqlstartup unit test tests directly
   298 	//Start the server only in "normal" builds, not in the case where t_sqlstartup unit test tests directly
   299 	//the SQL server startup code.
   299 	//the SQL server startup code.
   300 	StartL(KSqlSrvName);
   300 	StartL(KSqlSrvName);
   301 #endif	
   301 #endif	
   302 #ifdef _SQLPROFILER 
       
   303     TheSqlSrvStartTime.UniversalTime();
       
   304     SQLPROFILER_SERVER_START();
   302     SQLPROFILER_SERVER_START();
   305 #endif  
       
   306 	//Configure the SQLite library
   303 	//Configure the SQLite library
   307 	__SQLLEAVE_IF_ERROR(sqlite3_config(SQLITE_CONFIG_LOOKASIDE, KSqliteLookAsideCellSize, KSqliteLookAsideCellCount));
   304 	__SQLLEAVE_IF_ERROR(sqlite3_config(SQLITE_CONFIG_LOOKASIDE, KSqliteLookAsideCellSize, KSqliteLookAsideCellCount));
   308 	//Open SQLITE library - this must be the first call after StartL() (os_symbian.cpp, "TheAllocator" initialization rellated).
   305 	//Open SQLITE library - this must be the first call after StartL() (os_symbian.cpp, "TheAllocator" initialization rellated).
   309 	__SQLLEAVE_IF_ERROR(sqlite3SymbianLibInit());
   306 	__SQLLEAVE_IF_ERROR(sqlite3SymbianLibInit());
   310 	//Create buffers
   307 	//Create buffers