Guess what: ODBC updates and build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,48 +1,48 @@
|
||||
#ifndef _HSTMT_H
|
||||
#define _HSTMT_H
|
||||
#ifndef _HSTMT_H
|
||||
#define _HSTMT_H
|
||||
|
||||
#include <../iodbc/config.h>
|
||||
#include <config.h>
|
||||
|
||||
#include <../iodbc/isql.h>
|
||||
#include <../iodbc/isqlext.h>
|
||||
#include <isql.h>
|
||||
#include <isqlext.h>
|
||||
|
||||
typedef struct STMT
|
||||
typedef struct STMT
|
||||
{
|
||||
int type; /* must be 1st field */
|
||||
int type; /* must be 1st field */
|
||||
|
||||
struct STMT* next;
|
||||
struct STMT* next;
|
||||
|
||||
HERR herr;
|
||||
HDBC hdbc; /* back point to connection object */
|
||||
HSTMT dhstmt; /* driver's stmt handle */
|
||||
HERR herr;
|
||||
HDBC hdbc; /* back point to connection object */
|
||||
HSTMT dhstmt; /* driver's stmt handle */
|
||||
|
||||
int state;
|
||||
int cursor_state;
|
||||
int prep_state;
|
||||
int asyn_on; /* async executing which odbc call */
|
||||
int need_on; /* which call return SQL_NEED_DATA */
|
||||
int state;
|
||||
int cursor_state;
|
||||
int prep_state;
|
||||
int asyn_on; /* async executing which odbc call */
|
||||
int need_on; /* which call return SQL_NEED_DATA */
|
||||
} STMT_t;
|
||||
|
||||
enum {
|
||||
en_stmt_allocated = 0,
|
||||
en_stmt_prepared,
|
||||
en_stmt_executed,
|
||||
en_stmt_cursoropen,
|
||||
en_stmt_fetched,
|
||||
en_stmt_xfetched,
|
||||
en_stmt_needdata, /* not call SQLParamData() yet */
|
||||
en_stmt_mustput, /* not call SQLPutData() yet */
|
||||
en_stmt_canput /* SQLPutData() called */
|
||||
}; /* for statement handle state */
|
||||
enum {
|
||||
en_stmt_allocated = 0,
|
||||
en_stmt_prepared,
|
||||
en_stmt_executed,
|
||||
en_stmt_cursoropen,
|
||||
en_stmt_fetched,
|
||||
en_stmt_xfetched,
|
||||
en_stmt_needdata, /* not call SQLParamData() yet */
|
||||
en_stmt_mustput, /* not call SQLPutData() yet */
|
||||
en_stmt_canput /* SQLPutData() called */
|
||||
}; /* for statement handle state */
|
||||
|
||||
enum {
|
||||
en_stmt_cursor_no = 0,
|
||||
en_stmt_cursor_named,
|
||||
en_stmt_cursor_opened,
|
||||
en_stmt_cursor_fetched,
|
||||
en_stmt_cursor_xfetched
|
||||
}; /* for statement cursor state */
|
||||
enum {
|
||||
en_stmt_cursor_no = 0,
|
||||
en_stmt_cursor_named,
|
||||
en_stmt_cursor_opened,
|
||||
en_stmt_cursor_fetched,
|
||||
en_stmt_cursor_xfetched
|
||||
}; /* for statement cursor state */
|
||||
|
||||
extern RETCODE _iodbcdm_dropstmt();
|
||||
extern RETCODE _iodbcdm_dropstmt();
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user