equal
deleted
inserted
replaced
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 __SQLSTMTSESSION_H__ |
17 #ifndef __SQLSTMTSESSION_H__ |
95 inline TInt ReadColumnValue(TInt aColumnIndex, TDes8& aBuf); |
96 inline TInt ReadColumnValue(TInt aColumnIndex, TDes8& aBuf); |
96 |
97 |
97 inline MStreamBuf* ColumnSourceL(TInt aColumnIndex); |
98 inline MStreamBuf* ColumnSourceL(TInt aColumnIndex); |
98 inline MStreamBuf* ParamSinkL(TSqlSrvFunction aFunction, TInt aParamIndex); |
99 inline MStreamBuf* ParamSinkL(TSqlSrvFunction aFunction, TInt aParamIndex); |
99 |
100 |
100 HBufC* GetDeclColumnTypesL(TInt aColumnCount); |
101 TInt GetDeclColumnTypes(RSqlBufFlat& aDeclColumnTypeBuf); |
101 |
102 |
102 private: |
103 private: |
103 TInt DoBindNext(TSqlSrvFunction aFunction, TIpcArgs& aIpcArgs, RSqlBufFlat& aColumnBuf); |
104 TInt DoBindNext(TSqlSrvFunction aFunction, TIpcArgs& aIpcArgs, RSqlBufFlat& aColumnBuf); |
104 TInt Retry(RSqlBufFlat& aBufFlat, TInt aSize, TSqlBufFlatType aWhat); |
105 TInt Retry(RSqlBufFlat& aBufFlat, TInt aSize, TSqlBufFlatType aWhat); |
105 inline RSqlDbSession& DbSession() const; |
106 inline RSqlDbSession& DbSession() const; |
106 |
107 |