]>
git.saurik.com Git - wxWidgets.git/blob - src/iodbc/hstmt.h
6 * Query statement object management functions
8 * The iODBC driver manager.
10 * Copyright (C) 1995 by Ke Jin <kejin@empress.com>
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Library General Public
14 * License as published by the Free Software Foundation; either
15 * version 2 of the License, or (at your option) any later version.
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Library General Public License for more details.
22 * You should have received a copy of the GNU Library General Public
23 * License along with this library; if not, write to the Free
24 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
36 int type
; /* must be 1st field */
41 HDBC hdbc
; /* back point to connection object */
42 HSTMT dhstmt
; /* driver's stmt handle */
47 int asyn_on
; /* async executing which odbc call */
48 int need_on
; /* which call return SQL_NEED_DATA */
54 en_stmt_allocated
= 0,
60 en_stmt_needdata
, /* not call SQLParamData() yet */
61 en_stmt_mustput
, /* not call SQLPutData() yet */
62 en_stmt_canput
/* SQLPutData() called */
63 }; /* for statement handle state */
67 en_stmt_cursor_no
= 0,
69 en_stmt_cursor_opened
,
70 en_stmt_cursor_fetched
,
71 en_stmt_cursor_xfetched
72 }; /* for statement cursor state */
74 extern RETCODE
_iodbcdm_dropstmt ();