Commit 94753d8b authored by Sergei Golubchik's avatar Sergei Golubchik

small cleanup - remove prehistoric DB_TYPE_xxx values

parent 0d405ed0
...@@ -232,13 +232,6 @@ handlerton *ha_checktype(THD *thd, enum legacy_db_type database_type, ...@@ -232,13 +232,6 @@ handlerton *ha_checktype(THD *thd, enum legacy_db_type database_type,
RUN_HOOK(transaction, after_rollback, (thd, FALSE)); RUN_HOOK(transaction, after_rollback, (thd, FALSE));
switch (database_type) {
case DB_TYPE_MRG_ISAM:
return ha_resolve_by_legacy_type(thd, DB_TYPE_MRG_MYISAM);
default:
break;
}
return ha_default_handlerton(thd); return ha_default_handlerton(thd);
} /* ha_checktype */ } /* ha_checktype */
......
...@@ -336,25 +336,23 @@ ...@@ -336,25 +336,23 @@
enum legacy_db_type enum legacy_db_type
{ {
DB_TYPE_UNKNOWN=0,DB_TYPE_DIAB_ISAM=1, /* note these numerical values are fixed and can *not* be changed */
DB_TYPE_HASH,DB_TYPE_MISAM,DB_TYPE_PISAM, DB_TYPE_UNKNOWN=0,
DB_TYPE_RMS_ISAM, DB_TYPE_HEAP, DB_TYPE_ISAM, DB_TYPE_HEAP=6,
DB_TYPE_MRG_ISAM, DB_TYPE_MYISAM, DB_TYPE_MRG_MYISAM, DB_TYPE_MYISAM=9,
DB_TYPE_BERKELEY_DB, DB_TYPE_INNODB, DB_TYPE_MRG_MYISAM=10,
DB_TYPE_GEMINI, DB_TYPE_NDBCLUSTER, DB_TYPE_INNODB=12,
DB_TYPE_EXAMPLE_DB, DB_TYPE_ARCHIVE_DB, DB_TYPE_CSV_DB, DB_TYPE_NDBCLUSTER=14,
DB_TYPE_FEDERATED_DB, DB_TYPE_EXAMPLE_DB=15,
DB_TYPE_BLACKHOLE_DB, DB_TYPE_ARCHIVE_DB=16,
DB_TYPE_PARTITION_DB, DB_TYPE_CSV_DB=17,
DB_TYPE_BINLOG, DB_TYPE_FEDERATED_DB=18,
DB_TYPE_SOLID, DB_TYPE_BLACKHOLE_DB=19,
DB_TYPE_PBXT, DB_TYPE_PARTITION_DB=20,
DB_TYPE_TABLE_FUNCTION, DB_TYPE_BINLOG=21,
DB_TYPE_MEMCACHE, DB_TYPE_PBXT=23,
DB_TYPE_FALCON, DB_TYPE_MARIA=27,
DB_TYPE_MARIA, DB_TYPE_PERFORMANCE_SCHEMA=28,
/** Performance schema engine. */
DB_TYPE_PERFORMANCE_SCHEMA,
DB_TYPE_FIRST_DYNAMIC=42, DB_TYPE_FIRST_DYNAMIC=42,
DB_TYPE_DEFAULT=127 // Must be last DB_TYPE_DEFAULT=127 // Must be last
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment