22
33/* *****************************************************************************
44 *
5- * You may not use the identified files except in compliance with the Apache
5+ * You may not use the identified files except in compliance with the Apache
66 * License, Version 2.0 (the "License.")
77 *
8- * You may obtain a copy of the License at
8+ * You may obtain a copy of the License at
99 * http://www.apache.org/licenses/LICENSE-2.0.
1010 *
11- * Unless required by applicable law or agreed to in writing, software
11+ * Unless required by applicable law or agreed to in writing, software
1212 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
1313 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414 *
15- * See the License for the specific language governing permissions and
15+ * See the License for the specific language governing permissions and
1616 * limitations under the License.
1717 *
1818 * NAME
3030#endif
3131
3232#if !defined(OCI_MAJOR_VERSION) || (OCI_MAJOR_VERSION < 11) || \
33- ((OCI_MAJOR_VERSION == 11 ) && (OCI_MINOR_VERSION < 2 ))
34- #error Oracle 11.2 or later client libraries are required for building
33+ ((OCI_MAJOR_VERSION == 11 ) && (OCI_MINOR_VERSION < 2 ))
34+ #error Oracle 11.2 or later client libraries are required for building
3535#endif
3636
3737
@@ -47,7 +47,7 @@ namespace dpi
4747 PUBLIC TYPES
4848 ---------------------------------------------------------------------------*/
4949
50-
50+
5151enum DpiStmtType
5252{
5353 DpiStmtUnknown = 0 ,
@@ -88,7 +88,7 @@ typedef enum
8888 DpiBfile = 114 ,
8989 DpiYearMonth = 182 , /* internal only */
9090 DpiDaySecond = 183 , /* internal only */
91- DpiTimestamp = 187 , /* internal only */
91+ DpiTimestamp = 187 , /* internal only */
9292 DpiTimestampTZ = 188 , /* internal only */
9393 DpiURowid = 208 , /* internal only */
9494 DpiTimestampLTZ = 232 , /* internal only */
@@ -148,33 +148,33 @@ class Stmt
148148 // methods
149149 virtual void bind (unsigned int pos, unsigned short type, void *buf,
150150 DPI_SZ_TYPE bufSize, short *ind, DPI_BUFLEN_TYPE *bufLen) = 0;
151-
151+
152152 virtual void bind (const unsigned char *name, int nameLen,
153153 unsigned short type, void *buf, DPI_SZ_TYPE bufSize,
154154 short *ind, DPI_BUFLEN_TYPE *bufLen) = 0;
155155
156156 virtual void execute ( int numIterations, bool isAutoCommit = false ) = 0;
157-
157+
158158 virtual void define (unsigned int pos, unsigned short type, void *buf,
159159 DPI_SZ_TYPE bufSize, short *ind, DPI_BUFLEN_TYPE *bufLen) = 0;
160-
160+
161161 virtual void fetch (unsigned int numRows = 1 ) = 0;
162-
162+
163163 virtual const MetaData * getMetaData () = 0;
164164
165165 virtual unsigned int rowsFetched () const = 0;
166166
167167 virtual OCIError *getError () = 0;
168-
169-
168+
169+
170170 virtual ~Stmt (){};
171171
172172protected:
173173 // clients cannot do new and delete
174174 Stmt (){};
175175
176176private:
177-
177+
178178};
179179
180180
0 commit comments