← Back to team overview

drizzle-discuss team mailing list archive

Re: File Deletion issues for Storage Engines


Toru Maesaka wrote:

(1) doDropDatabase() will provide a reference to a vector that
contains table names (full path) as a parameter. The storage engine
would then use each string to remove the file(s).

Why wouldn't the storage engine itself know which databases are in
which files - or vice versa?  In MySQL that's a problem because the
server creates the .frm, but for Drizzle, let the storage engines
handle all issues of files and get the server away from assumptions
about file == table.   There are potential storage engines that
don't follow that model.

Best regards,


Follow ups