summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authormikef@nslinux.bedford.progress.com <>2001-03-21 15:34:16 -0500
committermikef@nslinux.bedford.progress.com <>2001-03-21 15:34:16 -0500
commitd145a6b97e3306abf6ed36725748f255dcfa4ba5 (patch)
tree5306fccfc0c0c42aabf0e2dd6bf883cdecc3ed03 /sql/handler.h
parent3c48448042457edca9c7559d9a6bed24485ddc86 (diff)
downloadmariadb-git-d145a6b97e3306abf6ed36725748f255dcfa4ba5.tar.gz
Add support for Gemini table handler, Monty has checked and approved
Fix bug when read return error
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h
index 463eef20ee4..638529ab882 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -72,6 +72,7 @@
#define HA_DROP_BEFORE_CREATE (HA_PRIMARY_KEY_IN_READ_INDEX*2)
#define HA_NOT_READ_AFTER_KEY (HA_DROP_BEFORE_CREATE*2)
#define HA_NOT_DELETE_WITH_CACHE (HA_NOT_READ_AFTER_KEY*2)
+#define HA_NO_TEMP_TABLES (HA_NOT_DELETE_WITH_CACHE*2)
/* Parameters for open() (in register form->filestat) */
/* HA_GET_INFO does a implicit HA_ABORT_IF_LOCKED */
@@ -310,6 +311,17 @@ public:
enum thr_lock_type lock_type)=0;
};
+#ifdef HAVE_GEMINI_DB
+struct st_gemini
+{
+ void *context;
+ unsigned long savepoint;
+ bool needSavepoint;
+ uint tx_isolation;
+ uint lock_count;
+};
+#endif
+
/* Some extern variables used with handlers */
extern const char *ha_row_type[];
@@ -337,4 +349,4 @@ int ha_rollback_trans(THD *thd, THD_TRANS *trans);
int ha_autocommit_or_rollback(THD *thd, int error);
void ha_set_spin_retries(uint retries);
bool ha_flush_logs(void);
-
+int ha_commit_rename(THD *thd);