/[Apache-SVN]
ViewVC logotype

Revision 1535413


Jump to revision: Previous Next
Author: mikem
Date: Thu Oct 24 15:27:15 2013 UTC (10 years, 6 months ago)
Changed paths: 3
Log Message:
DERBY-4923 update of a long row can fail with ERROR nospc: nospc.U exception.

This checkin fixes the problem repro'd by the included new test, which shows
an update of an existing row in db failing with a nosp.U exception. 
The problem was an off by 1 error in checking for enough space to update a row
on an overflow page to just an overflow pointer. The intent of the code is to 
always reserve enough space in every overflow row to allow for this update. 
In this case there was exactly enough space, but the code mistaken thought it 
needed 1 more byte.



Changed paths

Path Details
Directorydb/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/StoredPage.java modified , text changed
Directorydb/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/Derby4923Test.java added
Directorydb/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/_Suite.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26