persistentstorage/sql/SRC/Client/SqlDbSession.inl
branchRCL_3
changeset 24 cc28652e0254
parent 23 26645d81f48d
--- a/persistentstorage/sql/SRC/Client/SqlDbSession.inl	Tue Aug 31 16:57:14 2010 +0300
+++ b/persistentstorage/sql/SRC/Client/SqlDbSession.inl	Wed Sep 01 12:39:58 2010 +0100
@@ -223,6 +223,8 @@
 */
 inline TInt RSqlDbSession::SendReceive(TInt aFunction)
 	{
+	SYMBIAN_TRACE_SQL_EVENTS_ONLY(TPtrC8 funcStr = GetIPCFuncStr(aFunction));
+	SYMBIAN_TRACE_SQL_EVENTS_ONLY(UTF::Printf(UTF::TTraceContext(UTF::EBorder), KDbMsgStr, &funcStr));
 	return RSessionBase::SendReceive(aFunction);	
 	}
 
@@ -235,6 +237,8 @@
 */
 inline void RSqlDbSession::SendReceive(TInt aFunction, TRequestStatus& aStatus)
 	{
+	SYMBIAN_TRACE_SQL_EVENTS_ONLY(TPtrC8 funcStr = GetIPCFuncStr(aFunction));
+	SYMBIAN_TRACE_SQL_EVENTS_ONLY(UTF::Printf(UTF::TTraceContext(UTF::EBorder), KDbMsgStr, &funcStr));
 	RSessionBase::SendReceive(aFunction, aStatus);
 	}
 
@@ -248,6 +252,8 @@
 */
 inline TInt RSqlDbSession::SendReceive(TInt aFunction, const TIpcArgs& aArgs)
 	{
+	SYMBIAN_TRACE_SQL_EVENTS_ONLY(TPtrC8 funcStr = GetIPCFuncStr(aFunction));
+	SYMBIAN_TRACE_SQL_EVENTS_ONLY(UTF::Printf(UTF::TTraceContext(UTF::EBorder), KDbMsgStr, &funcStr));
 	return RSessionBase::SendReceive(aFunction, aArgs);	
 	}
 	
@@ -260,5 +266,7 @@
 */
 inline void RSqlDbSession::SendReceive(TInt aFunction,const TIpcArgs& aArgs, TRequestStatus& aStatus)
 	{
+	SYMBIAN_TRACE_SQL_EVENTS_ONLY(TPtrC8 funcStr = GetIPCFuncStr(aFunction));
+	SYMBIAN_TRACE_SQL_EVENTS_ONLY(UTF::Printf(UTF::TTraceContext(UTF::EBorder), KDbMsgStr, &funcStr));
 	RSessionBase::SendReceive(aFunction, aArgs, aStatus);	
 	}