summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authoracurtis@xiphis.org <>2005-12-21 10:18:40 -0800
committeracurtis@xiphis.org <>2005-12-21 10:18:40 -0800
commit13a776778c151ec520a1f1f5694aac6efaec3f04 (patch)
treed777ca5871199d389af93e8cbe06e1bdbc16a10b /sql/table.h
parent053884596309fc33ffa40df1b8982e75705ec3e9 (diff)
downloadmariadb-git-13a776778c151ec520a1f1f5694aac6efaec3f04.tar.gz
Finalize storage engine plugins
Give BerkeleyDB savepoints Remove "enum db_type" from most of the code
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/table.h b/sql/table.h
index 81c13552a04..ef8ef5242d0 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -153,7 +153,7 @@ typedef struct st_table_share
ulong timestamp_offset; /* Set to offset+1 of record */
ulong reclength; /* Recordlength */
- enum db_type db_type; /* table_type for handler */
+ handlerton *db_type; /* table_type for handler */
enum row_type row_type; /* How rows are stored */
enum tmp_table_type tmp_table;
@@ -200,7 +200,7 @@ typedef struct st_table_share
#ifdef WITH_PARTITION_STORAGE_ENGINE
const uchar *partition_info;
uint partition_info_len;
- enum db_type default_part_db_type;
+ handlerton *default_part_db_type;
#endif
} TABLE_SHARE;
@@ -324,6 +324,7 @@ enum enum_schema_tables
SCH_COLUMN_PRIVILEGES,
SCH_KEY_COLUMN_USAGE,
SCH_OPEN_TABLES,
+ SCH_PLUGINS,
SCH_PROCEDURES,
SCH_SCHEMATA,
SCH_SCHEMA_PRIVILEGES,
@@ -642,7 +643,7 @@ typedef struct st_table_list
bool where_processed;
/* FRMTYPE_ERROR if any type is acceptable */
enum frm_type_enum required_type;
- enum db_type db_type; /* table_type for handler */
+ handlerton *db_type; /* table_type for handler */
char timestamp_buffer[20]; /* buffer for timestamp (19+1) */
/*
This TABLE_LIST object is just placeholder for prelocking, it will be