equal
deleted
inserted
replaced
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 |