diff options
author | Davi Arnaut <davi.arnaut@oracle.com> | 2010-07-23 17:16:29 -0300 |
---|---|---|
committer | Davi Arnaut <davi.arnaut@oracle.com> | 2010-07-23 17:16:29 -0300 |
commit | 75e22123972f3404cd384839695c9e7b0165565f (patch) | |
tree | 6e64b324e47ec067c848617b8ea8340fde01d8b2 /sql/handler.cc | |
parent | 7a344b61065080902ad9530d33ed0fa72a1522fa (diff) | |
download | mariadb-git-75e22123972f3404cd384839695c9e7b0165565f.tar.gz |
WL#5498: Remove dead and unused source code
Remove unused macros or macro which are always defined.
include/my_global.h:
Remove unused macros and move macros which aren't used globally.
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index 06f869d4dff..efbc335f9b2 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -230,10 +230,6 @@ handlerton *ha_checktype(THD *thd, enum legacy_db_type database_type, RUN_HOOK(transaction, after_rollback, (thd, FALSE)); switch (database_type) { -#ifndef NO_HASH - case DB_TYPE_HASH: - return ha_resolve_by_legacy_type(thd, DB_TYPE_HASH); -#endif case DB_TYPE_MRG_ISAM: return ha_resolve_by_legacy_type(thd, DB_TYPE_MRG_MYISAM); default: |