mirror of
https://github.com/MariaDB/server.git
synced 2026-04-30 20:25:32 +02:00
Make mysqld_show_logs work without HAVE_BERKELEY_DB.
sql/sql_show.cc: - make mysqld_show_logs work without HAVE_BERKELEY_DB
This commit is contained in:
parent
bf4fb50fb4
commit
1d22d8d5bc
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue