summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/connection.h
diff options
context:
space:
mode:
authorHiroshi Inoue2002-03-28 08:08:07 +0000
committerHiroshi Inoue2002-03-28 08:08:07 +0000
commit6852741c1879fd2bd5ab5b367c7fc5a130dfd4da (patch)
treea0f27a6fb623307b0772f2964f31707fd302972e /src/interfaces/odbc/connection.h
parente6774dc3553d814e6aa500cabe5739b2e6f94df4 (diff)
[2002-03-28]
1) Prepare to separate 4 kinds of Descriptor handles. 2) Detect the transaction status more naturally. 3) Improve Parse Statement functionality for the use of updatable cursors. 4) Improve updatable cursors. 5) Implement SQLGetDescField() and improve SQLColAttribute(). 6) etc.
Diffstat (limited to 'src/interfaces/odbc/connection.h')
-rw-r--r--src/interfaces/odbc/connection.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/interfaces/odbc/connection.h b/src/interfaces/odbc/connection.h
index ee19d27dcb7..67411edd67a 100644
--- a/src/interfaces/odbc/connection.h
+++ b/src/interfaces/odbc/connection.h
@@ -13,6 +13,7 @@
#include <stdlib.h>
#include <string.h>
+#include "descriptor.h"
typedef enum
@@ -242,6 +243,8 @@ struct ConnectionClass_
HENV henv; /* environment this connection was created
* on */
StatementOptions stmtOptions;
+ ARDFields ardOptions;
+ APDFields apdOptions;
char *errormsg;
int errornumber;
CONN_Status status;
@@ -315,8 +318,11 @@ void CC_lookup_pg_version(ConnectionClass *conn);
void CC_initialize_pg_version(ConnectionClass *conn);
void CC_log_error(const char *func, const char *desc, const ConnectionClass *self);
int CC_get_max_query_len(const ConnectionClass *self);
+void CC_on_commit(ConnectionClass *conn, BOOL set_no_trans);
+void CC_on_abort(ConnectionClass *conn, BOOL set_no_trans);
/* CC_send_query_options */
#define CLEAR_RESULT_ON_ABORT 1L
#define CREATE_KEYSET (1L << 1) /* create keyset for updatable curosrs */
+#define GO_INTO_TRANSACTION (1L << 2) /* issue begin in advance */
#endif