From: Jon Olav Hauglid Date: July 20 2010 9:47am Subject: Re: bzr commit into mysql-trunk-bugfixing branch (davi:3133) WL#5498 List-Archive: http://lists.mysql.com/commits/113938 Message-Id: <4C4570CB.3030907@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 07/20/2010 04:30 AM, Davi Arnaut wrote: > # At a local mysql-trunk-bugfixing repository of davi > > 3133 Davi Arnaut 2010-07-19 > WL#5498: Remove dead and unused source code > > Remove unused source code and associated paraphernalia. See comments below. > removed: > sql/sql_map.h I guess sql/sql_map.cc should be removed as well? > === modified file 'include/my_sys.h' > --- a/include/my_sys.h 2010-07-17 14:56:00 +0000 > +++ b/include/my_sys.h 2010-07-20 02:30:37 +0000 > @@ -266,13 +262,6 @@ extern const char *my_defaults_file; > > extern my_bool timed_mutexes; > > -typedef struct wild_file_pack /* Struct to hold info when selecting files */ > -{ > - uint wilds; /* How many wildcards */ > - uint not_pos; /* Start of not-theese-files */ > - char * *wild; /* Pointer to wildcards */ > -} WF_PACK; > - > enum loglevel { > ERROR_LEVEL, > WARNING_LEVEL, > @@ -713,9 +700,6 @@ extern char * my_load_path(char * to, co > const char *own_path_prefix); > extern int wild_compare(const char *str,const char *wildstr, > pbool str_is_pattern); > -extern WF_PACK *wf_comp(char * str); > -extern int wf_test(struct wild_file_pack *wf_pack,const char *name); > -extern void wf_end(struct wild_file_pack *buffer); > extern my_bool array_append_string_unique(const char *str, > const char **array, size_t size); > extern void get_date(char * to,int timeflag,time_t use_time); Remove mysys/mf_wfile.c also? Otherwise looks ok. --- Jon Olav