equal
deleted
inserted
replaced
43 iDbEncoding = iDefaultEncoding; |
43 iDbEncoding = iDefaultEncoding; |
44 iPageSize = iDefaultPageSize; |
44 iPageSize = iDefaultPageSize; |
45 iCacheSize = iDefaultCacheSize; |
45 iCacheSize = iDefaultCacheSize; |
46 iDriveName.Copy(_L("c:")); |
46 iDriveName.Copy(_L("c:")); |
47 iSoftHeapLimitKb = 0; |
47 iSoftHeapLimitKb = 0; |
|
48 iLogFileName.Zero(); |
48 } |
49 } |
49 |
50 |
50 const TDbEncoding iDefaultEncoding; |
51 const TDbEncoding iDefaultEncoding; |
51 const TInt iDefaultPageSize; |
52 const TInt iDefaultPageSize; |
52 const TInt iDefaultCacheSize; |
53 const TInt iDefaultCacheSize; |
54 TDbEncoding iDbEncoding; |
55 TDbEncoding iDbEncoding; |
55 TInt iPageSize; |
56 TInt iPageSize; |
56 TInt iCacheSize; |
57 TInt iCacheSize; |
57 TDriveName iDriveName; |
58 TDriveName iDriveName; |
58 TInt iSoftHeapLimitKb; |
59 TInt iSoftHeapLimitKb; |
|
60 TFileName iLogFileName; |
59 }; |
61 }; |
60 |
62 |
61 void GetCmdLineParamsAndSqlConfigString(RTest& aTest, const TDesC& aTestName, TCmdLineParams& aCmdLineParams, TDes8& aConfigStr); |
63 void GetCmdLineParamsAndSqlConfigString(RTest& aTest, const TDesC& aTestName, TCmdLineParams& aCmdLineParams, TDes8& aConfigStr); |
62 void PrepareDbName(const TDesC& aDeafultDbName, const TDriveName& aDriveName, TDes& aDbName); |
64 void PrepareDbName(const TDesC& aDeafultDbName, const TDriveName& aDriveName, TDes& aDbName); |
63 void SetSoftHeapLimit(TInt aSoftHeapLimit); |
65 void SetSoftHeapLimit(RTest& aTest, TInt aSoftHeapLimit); |
64 void ResetSoftHeapLimit(); |
66 void ResetSoftHeapLimit(); |
|
67 void LogConfig(RFile& aLogFile, const TCmdLineParams& aCmdLineParams); |
65 |
68 |
66 #endif//T_SQLCMDLINEUTIL_H |
69 #endif//T_SQLCMDLINEUTIL_H |