зеркало из https://github.com/mozilla/gecko-dev.git
Bug 479543 - mozStorageConnection::Close should use NS_ERROR instead of NS_WARNING to complain about unfinalized statements; r=sdwilsh
This commit is contained in:
Родитель
c46da39c54
Коммит
2d37f4bff0
|
@ -264,7 +264,7 @@ mozStorageConnection::Close()
|
|||
|
||||
int srv = sqlite3_close(mDBConn);
|
||||
if (srv != SQLITE_OK)
|
||||
NS_WARNING("sqlite3_close failed. There are probably outstanding statements that are listed above!");
|
||||
NS_ERROR("sqlite3_close failed. There are probably outstanding statements that are listed above!");
|
||||
|
||||
mDBConn = NULL;
|
||||
return ConvertResultCode(srv);
|
||||
|
|
Загрузка…
Ссылка в новой задаче