summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorunknown <acurtis@pcgem.rdg.cyberkinetica.com>2004-03-02 10:08:50 +0000
committerunknown <acurtis@pcgem.rdg.cyberkinetica.com>2004-03-02 10:08:50 +0000
commit8286684e26d1639b56c942e0cce6c238a11f2a92 (patch)
treeee23acf7cad95fc887d54d11249945d1247621ad /sql/sql_show.cc
parent722e0ec37827de7fc8bc17030cac43a9f27c35d7 (diff)
downloadmariadb-git-8286684e26d1639b56c942e0cce6c238a11f2a92.tar.gz
Cleanup ha_checktype() and redundant variables.
libmysqld/lib_sql.cc: Removing *_skip variables sql/ha_berkeley.cc: Removing *_skip variables sql/ha_berkeley.h: Removing *_skip variables sql/ha_innodb.cc: Removing *_skip variables sql/ha_innodb.h: Removing *_skip variables sql/ha_isam.cc: Removing *_skip variables sql/ha_isam.h: Removing *_skip variables sql/handler.cc: Removing *_skip variables Cleanup ha_checktype() sql/mysqld.cc: Removing *_skip variables sql/sql_show.cc: Removing *_skip variables
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index c169ea8952f..ff4ff43519a 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -921,7 +921,7 @@ mysqld_show_logs(THD *thd)
DBUG_RETURN(1);
#ifdef HAVE_BERKELEY_DB
- if (!berkeley_skip && berkeley_show_logs(protocol))
+ if ((have_berkeley_db == SHOW_OPTION_YES) && berkeley_show_logs(protocol))
DBUG_RETURN(-1);
#endif