diff options
author | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-03-14 05:42:04 +0000 |
---|---|---|
committer | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-03-14 05:42:04 +0000 |
commit | 01e322652b14c2aeac1737f29f8bcf9e18d1060e (patch) | |
tree | 2793f9c1dcea81f6268e81b777af1c990b74b526 /src/interfaces/odbc/statement.h | |
parent | f362dcec61bc8df8b13d65897aecaaac2ce1b7b0 (diff) |
1) Internal improvements to handle updatable cursors(1st cut).
2) Fix a bug in SQLColAttribute().
Diffstat (limited to 'src/interfaces/odbc/statement.h')
-rw-r--r-- | src/interfaces/odbc/statement.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/interfaces/odbc/statement.h b/src/interfaces/odbc/statement.h index cf104aa7d13..74583fbb2da 100644 --- a/src/interfaces/odbc/statement.h +++ b/src/interfaces/odbc/statement.h @@ -76,6 +76,7 @@ typedef enum #define STMT_BAD_ERROR 27 #define STMT_INVALID_OPTION_IDENTIFIER 28 #define STMT_RETURN_NULL_WITHOUT_INDICATOR 29 +#define STMT_ERROR_IN_ROW 30 /* statement types */ enum @@ -135,6 +136,7 @@ typedef struct char quote; char dquote; char numeric; + char updatable; char dot[MAX_TABLE_LEN + 1]; char name[MAX_COLUMN_LEN + 1]; char alias[MAX_COLUMN_LEN + 1]; @@ -219,11 +221,15 @@ struct StatementClass_ char miscinfo; SWORD errorpos; SWORD error_recsize; + char *load_statement; /* to (re)load updatable individual rows */ + Int4 from_pos; + Int4 where_pos; }; #define SC_get_conn(a) (a->hdbc) #define SC_set_Result(a, b) (a->result = a->curres = b) #define SC_get_Result(a) (a->result) +#define SC_set_Curres(a, b) (a->curres = b) #define SC_get_Curres(a) (a->curres) /* options for SC_free_params() */ |