summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authortim@cane.mysql.fi <>2000-12-15 18:01:17 +0200
committertim@cane.mysql.fi <>2000-12-15 18:01:17 +0200
commitb13b08fd219799207da361a6a6f37cb1e87fae80 (patch)
treed94d92f245c3ff2190e2150692be42adc2197beb /sql/sql_show.cc
parenta6d703b73afbd3d83645c721d8d1ff02215ee793 (diff)
downloadmariadb-git-b13b08fd219799207da361a6a6f37cb1e87fae80.tar.gz
Make mysqld_show_logs work without HAVE_BERKELEY_DB.
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 8e7b12936ba..a05a5fcebe9 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -531,7 +531,6 @@ mysqld_show_create(THD *thd, TABLE_LIST *table_list)
}
-#ifdef HAVE_BERKELEY_DB
int
mysqld_show_logs(THD *thd)
{
@@ -546,13 +545,14 @@ mysqld_show_logs(THD *thd)
if (send_fields(thd,field_list,1))
DBUG_RETURN(1);
+#ifdef HAVE_BERKELEY_DB
if (berkeley_show_logs(thd))
DBUG_RETURN(1);
+#endif
send_eof(&thd->net);
DBUG_RETURN(0);
}
-#endif
int