Fixed bug #657: Problem with drop database and recordId: file.