persistentstorage/sql/SRC/Client/SqlDbSession.cpp
changeset 15 3eacc0623088
parent 0 08ec8eefde2f
child 13 211563e4b919
--- a/persistentstorage/sql/SRC/Client/SqlDbSession.cpp	Fri Mar 19 10:00:55 2010 +0200
+++ b/persistentstorage/sql/SRC/Client/SqlDbSession.cpp	Fri Apr 16 16:49:27 2010 +0300
@@ -303,7 +303,11 @@
 */
 TInt RSqlDbSession::Connect(TSqlSrvFunction aFunction, const TDesC& aDbFileName, const TDesC8& aSecurityPolicyData, const TDesC8* aConfig)
 	{
+#ifdef SYSLIBS_TEST
+    const TInt KDefaultMsgBufLen = 4;
+#else	
 	const TInt KDefaultMsgBufLen = 128;
+#endif	
 	iLastErrorMessage = HBufC::New(KDefaultMsgBufLen);
 	if(!iLastErrorMessage)
 		{