From 2d37f4bff074fda559f045e500c8fafdb0cddb7c Mon Sep 17 00:00:00 2001 From: Ryan VanderMeulen Date: Sun, 1 Mar 2009 18:23:26 +0100 Subject: [PATCH] Bug 479543 - mozStorageConnection::Close should use NS_ERROR instead of NS_WARNING to complain about unfinalized statements; r=sdwilsh --- storage/src/mozStorageConnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/src/mozStorageConnection.cpp b/storage/src/mozStorageConnection.cpp index c7efa44648ad..b1ddd7173931 100644 --- a/storage/src/mozStorageConnection.cpp +++ b/storage/src/mozStorageConnection.cpp @@ -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);