List:Maria Storage Engine« Previous MessageNext Message »
From:Sanja Byelkin Date:May 13 2008 2:40pm
Subject:Re: removing all log files
View as plain text  
On Tue, May 13, 2008 at 02:43:51PM +0200, Guilhem Bichot wrote:
[skip]
> I propose that I fix this function and extend it a bit, like this:
> I'll rename it to:
> my_bool translog_walk_log_filenames(action)
> and "action" will be a parameter: either SEARCH_FIRST or DELETE_ALL.
> SEARCH_FIRST will be the equivalent of what translog_is_log_files()
> does now (return TRUE at first found log), and DELETE_ALL will be what
> I need (delete all found logs).
> 
> I hope this is ok with you?
 
yes.

-- 
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Oleksandr Byelkin <sanja@stripped>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Full-Time Developer
/_/  /_/\_, /___/\___\_\___/   Lugansk, Ukraine
       <___/   www.mysql.com
Thread
removing all log filesGuilhem Bichot13 May
  • Re: removing all log filesSanja Byelkin13 May