diff options
author | acurtis@xiphis.org <> | 2005-12-21 10:18:40 -0800 |
---|---|---|
committer | acurtis@xiphis.org <> | 2005-12-21 10:18:40 -0800 |
commit | 13a776778c151ec520a1f1f5694aac6efaec3f04 (patch) | |
tree | d777ca5871199d389af93e8cbe06e1bdbc16a10b /sql/sql_cache.cc | |
parent | 053884596309fc33ffa40df1b8982e75705ec3e9 (diff) | |
download | mariadb-git-13a776778c151ec520a1f1f5694aac6efaec3f04.tar.gz |
Finalize storage engine plugins
Give BerkeleyDB savepoints
Remove "enum db_type" from most of the code
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r-- | sql/sql_cache.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index 0f45b348d11..9a8e1d26ebd 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -2232,7 +2232,7 @@ Query_cache::register_tables_from_list(TABLE_LIST *tables_used, tables_used->engine_data)) DBUG_RETURN(0); - if (tables_used->table->s->db_type == DB_TYPE_MRG_MYISAM) + if (tables_used->table->s->db_type == &myisammrg_hton) { ha_myisammrg *handler = (ha_myisammrg *) tables_used->table->file; MYRG_INFO *file = handler->myrg_info(); @@ -2860,7 +2860,7 @@ static TABLE_COUNTER_TYPE process_and_count_tables(TABLE_LIST *tables_used, "other non-cacheable table(s)")); DBUG_RETURN(0); } - if (tables_used->table->s->db_type == DB_TYPE_MRG_MYISAM) + if (tables_used->table->s->db_type == &myisammrg_hton) { ha_myisammrg *handler = (ha_myisammrg *)tables_used->table->file; MYRG_INFO *file = handler->myrg_info(); |