MediaLibrary: clearDatabase: Hold the lock during the entire operation
MediaLibrary: clearDatabase: Hold the lock during the entire operation

chouquette/medialibrary,chouquette/medialibrary,chouquette/medialibrary,chouquette/medialibrary