Making transaction fail properly when GetBlobJournal fails.
commitdd588676da0907a763be672c734a9a120e49f57a
authorcmumford@chromium.org <cmumford@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 25 Jun 2014 06:00:17 +0000 (25 06:00 +0000)
committercmumford@chromium.org <cmumford@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 25 Jun 2014 06:00:17 +0000 (25 06:00 +0000)
tree600959de05d79f6743d8e59270eba12280bb753b
parent503ae7cd368452ce163c7730942a588fc000c92c
Making transaction fail properly when GetBlobJournal fails.

If GetBlobJournal fails as a result of corruption, making sure database
is closed/deleted. Eliminated use of a NULL transaction pointer.

Also switched one call to INTERNAL_READ_ERROR_UNTESTED to
INTERNAL_CONSISTENCY_ERROR_UNTESTED to report an error that occurred
*after* read.

BUG=381799

Review URL: https://codereview.chromium.org/347223005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279620 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/indexed_db/indexed_db_backing_store.cc
content/browser/indexed_db/indexed_db_browsertest.cc
content/test/data/indexeddb/corrupted_open_db_detection.html