diff options
author | unknown <mikef@nslinux.bedford.progress.com> | 2001-03-21 15:34:16 -0500 |
---|---|---|
committer | unknown <mikef@nslinux.bedford.progress.com> | 2001-03-21 15:34:16 -0500 |
commit | b4098ead8324790a52a70b4b35a3e83bc4c7ed54 (patch) | |
tree | 5306fccfc0c0c42aabf0e2dd6bf883cdecc3ed03 /sql/handler.h | |
parent | 4b56b0ee43843dae2f5503718bd851f8debbd561 (diff) | |
download | mariadb-git-b4098ead8324790a52a70b4b35a3e83bc4c7ed54.tar.gz |
Add support for Gemini table handler, Monty has checked and approved
Fix bug when read return error
acconfig.h:
Add Gemini to configure
acinclude.m4:
Add Gemini to configure
include/my_base.h:
Add error codes for tables handlers
mysql-test/t/select.test:
Force temporary tables to MyISAM
sql-bench/server-cfg.sh:
Allow Gemini to run sql-bench
sql/Makefile.am:
Add Gemini to configure
sql/handler.cc:
Add support for Gemini table handler
sql/handler.h:
Add support for Gemini table handler
sql/lex.h:
Add support for Gemini table handler
sql/mysqld.cc:
Add support for Gemini table handler
sql/opt_range.cc:
Fix bug when read return error
sql/records.cc:
Fix bug when read return error
sql/sql_class.cc:
Add support for Gemini table handler
sql/sql_class.h:
Add support for Gemini table handler
sql/sql_lex.h:
Add support for Gemini table handler
sql/sql_rename.cc:
Add commit for table rename
sql/sql_table.cc:
Add commit for table rename
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 14 |
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); |