mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 914005 - Tweak storage warnings on shutdown. r=mak
This commit is contained in:
parent
eb08749f12
commit
11c6482914
@ -401,19 +401,27 @@ Statement::internalFinalize(bool aDestructing)
|
||||
//
|
||||
|
||||
char *msg = ::PR_smprintf("SQL statement (%x) should have been finalized"
|
||||
"before garbage-collection. For more details on this statement, set"
|
||||
"NSPR_LOG_MESSAGES=mozStorage:5 .",
|
||||
" before garbage-collection. For more details on this statement, set"
|
||||
" NSPR_LOG_MESSAGES=mozStorage:5 .",
|
||||
mDBStatement);
|
||||
|
||||
//
|
||||
// Note that we can't display the statement itself, as the data structure
|
||||
// is not valid anymore. However, the address shown here should help
|
||||
// developers correlate with the more complete debug message triggered
|
||||
// by AsyncClose().
|
||||
//
|
||||
|
||||
#if 0
|
||||
// Deactivate the warning until we have fixed the exising culprit
|
||||
// (see bug 914070).
|
||||
NS_WARNING(msg);
|
||||
#endif // 0
|
||||
|
||||
PR_LOG(gStorageLog, PR_LOG_WARNING, msg);
|
||||
|
||||
::PR_smprintf_free(msg);
|
||||
}
|
||||
#endif // DEBUG
|
||||
|
||||
mDBStatement = nullptr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user