persistentstorage/sql/SRC/Server/SqlSrvSession.h
branchRCL_3
changeset 11 211563e4b919
parent 8 fa9941cf3867
child 23 26645d81f48d
equal deleted inserted replaced
10:31a8f755b7fe 11:211563e4b919
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
       
    12 // NTT DOCOMO, INC - Fix for Bug 1915 "SQL server panics when using long column type strings"
    12 //
    13 //
    13 // Description:
    14 // Description:
    14 //
    15 //
    15 
    16 
    16 #ifndef __SQLSRVSESSION_H__
    17 #ifndef __SQLSRVSESSION_H__
   105 	TInt StmtColumnSourceL(const RMessage2& aMessage, TInt aStmtHandle);
   106 	TInt StmtColumnSourceL(const RMessage2& aMessage, TInt aStmtHandle);
   106 	TInt StmtParamSinkL(const RMessage2& aMessage, TInt aStmtHandle, TSqlSrvFunction aFunction);
   107 	TInt StmtParamSinkL(const RMessage2& aMessage, TInt aStmtHandle, TSqlSrvFunction aFunction);
   107 	void StmtGetBufFlatL(const RMessage2& aMessage, TInt aStmtHandle);
   108 	void StmtGetBufFlatL(const RMessage2& aMessage, TInt aStmtHandle);
   108 	void StmtColumnValueL(const RMessage2& aMessage, TInt aStmtHandle);
   109 	void StmtColumnValueL(const RMessage2& aMessage, TInt aStmtHandle);
   109 	void DoStmtBindL(const RMessage2& aMessage, CSqlSrvStatement& aStmt);
   110 	void DoStmtBindL(const RMessage2& aMessage, CSqlSrvStatement& aStmt);
   110 	void StmtDeclColumnTypesL(const RMessage2& aMessage, TInt aStmtHandle);
   111 	TInt StmtDeclColumnTypesL(const RMessage2& aMessage, TInt aStmtHandle);
   111 	//Helper methods
   112 	//Helper methods
   112 	TInt NewOutputStreamL(const RMessage2& aMessage, MStreamBuf* aStreamBuf);
   113 	TInt NewOutputStreamL(const RMessage2& aMessage, MStreamBuf* aStreamBuf);
   113 	TDes8& ReadString8ZL(const RMessage2& aMessage, TInt aArgNum, TInt aByteLen);
   114 	TDes8& ReadString8ZL(const RMessage2& aMessage, TInt aArgNum, TInt aByteLen);
   114 	TDes16& ReadString16ZL(const RMessage2& aMessage, TInt aArgNum, TInt aCharLen);
   115 	TDes16& ReadString16ZL(const RMessage2& aMessage, TInt aArgNum, TInt aCharLen);
   115 	TDes16& ReadString16L(const RMessage2& aMessage, TInt aArgNum, TInt aCharLen);
   116 	TDes16& ReadString16L(const RMessage2& aMessage, TInt aArgNum, TInt aCharLen);