Re: mysqlhotcopy in 4.0.1

2002-02-13 Thread Martin Waite
On Mon, 2002-02-11 at 02:04, Jeremy Zawodny wrote: > On Mon, Feb 11, 2002 at 03:04:47PM +1300, Ian Collins wrote: > > In mysqlhotcopy, function copy_files, there is a line, > > > > my @non_raid = grep { $_ !~ m:\d\d/: } @$files; > > > > (dont you just love perl?). > > > > If the database name i

RE: mysqlhotcopy in 4.0.1

2002-02-12 Thread Ian Collins
OK. By the way - why is it trying to strip 2 digits in a row? I'm sure there was a reason. Cheers, Ian Collins. -Original Message- From: Jeremy Zawodny [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 3:05 PM To: Ian Collins Cc: Mysql (E-mail) Subject: Re: mysqlhotco

mysqlhotcopy in 4.0.1

2002-02-12 Thread Ian Collins
In mysqlhotcopy, function copy_files, there is a line, my @non_raid = grep { $_ !~ m:\d\d/: } @$files; (dont you just love perl?). If the database name in question is, for example, testone_750, a perfectly legal database name (??), then no files get copied! and the mysqlhotcopy fails. I presum

Re: mysqlhotcopy in 4.0.1

2002-02-12 Thread Jeremy Zawodny
On Mon, Feb 11, 2002 at 03:04:47PM +1300, Ian Collins wrote: > In mysqlhotcopy, function copy_files, there is a line, > > my @non_raid = grep { $_ !~ m:\d\d/: } @$files; > > (dont you just love perl?). > > If the database name in question is, for example, testone_750, a > perfectly legal databa

RE: mysqlhotcopy in 4.0.1

2002-02-10 Thread Ian Collins
OK. By the way - why is it trying to strip 2 digits in a row? I'm sure there was a reason. Cheers, Ian Collins. -Original Message- From: Jeremy Zawodny [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 3:05 PM To: Ian Collins Cc: Mysql (E-mail) Subject: Re: mysqlhotco

Re: mysqlhotcopy in 4.0.1

2002-02-10 Thread Jeremy Zawodny
On Mon, Feb 11, 2002 at 03:04:47PM +1300, Ian Collins wrote: > In mysqlhotcopy, function copy_files, there is a line, > > my @non_raid = grep { $_ !~ m:\d\d/: } @$files; > > (dont you just love perl?). > > If the database name in question is, for example, testone_750, a > perfectly legal databa

mysqlhotcopy in 4.0.1

2002-02-10 Thread Ian Collins
In mysqlhotcopy, function copy_files, there is a line, my @non_raid = grep { $_ !~ m:\d\d/: } @$files; (dont you just love perl?). If the database name in question is, for example, testone_750, a perfectly legal database name (??), then no files get copied! and the mysqlhotcopy fails. I presum