MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Ingo Strüwing Date:November 19 2008 2:24pm
Subject:Re: bzr commit into mysql-5.1 branch (ingo.struewing:2712) Bug#39277
View as plain text  
Hi Sergey, Mattias,

Sergey Vojtovich, 17.11.2008 13:19:
...
> I would suggest to move your fix into a separate function, that is
> take directory part and use test_if_data_home_dir().

Thanks for the suggestion. I did now implement it so that
test_if_data_home_dir() is renamed to a new static function
test_for_data_home_dir(), and a new function test_if_data_home_dir()
calls it twice.

At first it runs with the original path. But when the comparison claims,
the path be outside of data home dir, the second call is done with the
dirname part of the original path.

That way all uses of test_if_data_home_dir(), including partitions, are
included. I hope this was the solution, you had in mind.

http://lists.mysql.com/commits/59231

Regards
Ingo
-- 
Ingo Strüwing, Database Group
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Dr. Roland Bömer
Vorsitzender des Aufsichtsrates: Martin Häring   HRB München 161028
Thread
bzr commit into mysql-5.1 branch (ingo.struewing:2712) Bug#39277Ingo Struewing19 Nov
Re: bzr commit into mysql-5.1 branch (ingo.struewing:2712) Bug#39277Ingo Strüwing19 Nov
Re: bzr commit into mysql-5.1 branch (ingo.struewing:2712) Bug#39277Ingo Strüwing24 Nov
Re: bzr commit into mysql-5.1 branch (ingo.struewing:2712) Bug#39277Ingo Strüwing24 Nov