diff --git a/include/my_dbug.h b/include/my_dbug.h index ab018e26b02..6b83fea4fb4 100644 --- a/include/my_dbug.h +++ b/include/my_dbug.h @@ -39,7 +39,7 @@ extern void _db_pargs_(uint _line_,const char *keyword); extern void _db_doprnt_ _VARARGS((const char *format,...)); extern void _db_dump_(uint _line_,const char *keyword,const char *memory, uint length); -extern void _db_output_(void); +extern void _db_output_(uint); extern void _db_lock_file(void); extern void _db_unlock_file(void); diff --git a/sql/mysqld.cc b/sql/mysqld.cc index e5103bb583e..f36dc2c6024 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -294,7 +294,7 @@ static I_List thread_cache; static pthread_cond_t COND_thread_cache, COND_flush_thread_cache; -#ifdef HAVE_BERKLEY_DB +#ifdef HAVE_BERKELEY_DB static my_bool opt_sync_bdb_logs; #endif