List:Internals« Previous MessageNext Message »
From:Stewart Smith Date:May 11 2007 7:45am
Subject:Re: [PATCH] Proposed patch for #22615: MySQL Server incorrectly
catogorizes the lost+found directory as a database
View as plain text  
On Wed, 2007-05-09 at 23:22 -0500, Holman Romero wrote:
> > What about just having a mysys function that checks to see if the
> > folder/file name is one of some magic reserved set by the OS and we can
> > just call it in find files?
> >
> > Do other systems create directories like this?
> > --
> 
> it would work in cases like, for instance, lost+found, but what to do
> regarding _possible_ directories created within the mysql data
> directory that are not actual databases. If it is not a problem, the
> mysys function you suggest is ok. However, i think the server should
> record somewhere that a new database exists at creation time.

Remember that we have to maintain backwards compatibility with past
versions... I'm not sure when db.opt came into being.
-- 
Stewart Smith, Software Engineer
MySQL AB, www.mysql.com
Office: +14082136540 Ext: 6616
VoIP: 6616@stripped
Mobile: +61 4 3 8844 332

Jumpstart your cluster:
http://www.mysql.com/consulting/packaged/cluster.html

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Thread
[PATCH] Proposed patch for #22615: MySQL Server incorrectly catogorizes the lost+found directory as a databaseJorge Bernal9 May
  • Re: [PATCH] Proposed patch for #22615: MySQL Server incorrectly catogorizes the lost+found directory as a databaseHolman Romero9 May
    • Re: [PATCH] Proposed patch for #22615: MySQL Server incorrectly catogorizes the lost+found directory as a databaseJorge Bernal Ordovás9 May
      • Re: [PATCH] Proposed patch for #22615: MySQL Server incorrectlycatogorizes the lost+found directory as a databaseStewart Smith10 May
        • Re: [PATCH] Proposed patch for #22615: MySQL Server incorrectly catogorizes the lost+found directory as a databaseHolman Romero10 May
          • Re: [PATCH] Proposed patch for #22615: MySQL Server incorrectlycatogorizes the lost+found directory as a databaseStewart Smith11 May
            • Re: [PATCH] Proposed patch for #22615: MySQL Server incorrectly catogorizes the lost+found directory as a databaseMarko Mäkelä11 May
        • Re: [PATCH] Proposed patch for #22615: MySQL Server incorrectly catogorizes the lost+found directory as a databaseChad MILLER14 May