diff options
author | unknown <brian@zim.(none)> | 2005-10-02 20:13:18 -0700 |
---|---|---|
committer | unknown <brian@zim.(none)> | 2005-10-02 20:13:18 -0700 |
commit | cdb571925795518303b64c7149698fc328cf5f65 (patch) | |
tree | 0d6229a55087d478a4a78a95c498d0e963d270d8 /sql/handler.h | |
parent | 05df35e3d67ce8519e3281be29b599c3283db039 (diff) | |
parent | 5655d31d5ff64ecea103be523985fa755586673b (diff) | |
download | mariadb-git-cdb571925795518303b64c7149698fc328cf5f65.tar.gz |
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0
into zim.(none):/home/brian/mysql/fix-5.0
sql/ha_blackhole.cc:
Auto merged
sql/ha_heap.cc:
Auto merged
sql/ha_innodb.cc:
Auto merged
sql/examples/ha_example.cc:
Auto merged
sql/examples/ha_tina.cc:
Auto merged
sql/ha_archive.cc:
Auto merged
sql/ha_archive.h:
Auto merged
sql/ha_myisam.cc:
Auto merged
sql/ha_myisammrg.cc:
Auto merged
sql/ha_ndbcluster.cc:
Auto merged
sql/handler.cc:
Auto merged
sql/handler.h:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/sql_show.cc:
Auto merged
sql/ha_federated.cc:
Merge fix.
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/sql/handler.h b/sql/handler.h index 9d955d1be58..18c39de28e6 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -304,6 +304,27 @@ typedef struct storage engine name as it should be printed to a user */ const char *name; + + /* + Historical marker for if the engine is available of not + */ + SHOW_COMP_OPTION state; + + /* + A comment used by SHOW to describe an engine. + */ + const char *comment; + + /* + Historical number used for frm file to determine the correct storage engine. + This is going away and new engines will just use "name" for this. + */ + enum db_type db_type; + /* + Method that initizlizes a storage engine + */ + bool (*init)(); + /* each storage engine has it's own memory area (actually a pointer) in the thd, for storing per-connection information. @@ -363,14 +384,6 @@ typedef struct uint32 flags; /* global handler flags */ } handlerton; -struct show_table_type_st { - const char *type; - SHOW_COMP_OPTION *value; - const char *comment; - enum db_type db_type; - handlerton *ht; -}; - struct show_table_alias_st { const char *alias; const char *type; @@ -837,7 +850,7 @@ public: /* Some extern variables used with handlers */ -extern struct show_table_type_st sys_table_types[]; +extern handlerton *sys_table_types[]; extern const char *ha_row_type[]; extern TYPELIB tx_isolation_typelib; extern TYPELIB myisam_stats_method_typelib; |