From: Sanja Byelkin Date: May 13 2008 2:40pm Subject: Re: removing all log files List-Archive: http://lists.mysql.com/maria/35 Message-Id: <20080513144013.GA24796@desktop.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer /_/ /_/\_, /___/\___\_\___/ Lugansk, Ukraine <___/ www.mysql.com