зеркало из https://github.com/mozilla/gecko-dev.git
Bug 567254 - Crash in Connection::getFilename for memory-based databases; r=sdwilsh
--HG-- extra : rebase_source : 9fb1300af8c6b35a4e1aa229af032cd08a76e721
This commit is contained in:
Родитель
714921c7a8
Коммит
28ec17d596
|
@ -599,8 +599,10 @@ Connection::internalClose()
|
|||
nsCString
|
||||
Connection::getFilename()
|
||||
{
|
||||
nsCString leafname;
|
||||
(void)mDatabaseFile->GetNativeLeafName(leafname);
|
||||
nsCString leafname(":memory:");
|
||||
if (mDatabaseFile) {
|
||||
(void)mDatabaseFile->GetNativeLeafName(leafname);
|
||||
}
|
||||
return leafname;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче