heapCC.fetch( rowLocation, row.getRowArray(), columnToUpdate, wait );
NumberDataValue oldValueOnDisk = (NumberDataValue) row.getColumn( columnNum );
SQLLongint expectedOldValue;
if ( oldValue == null ) { expectedOldValue = new SQLLongint(); }
else { expectedOldValue = new SQLLongint( oldValue.longValue() ); }
// only update value if what's on disk is what we expected
if ( ( oldValue == null ) || ( expectedOldValue.compare( oldValueOnDisk ) == 0 ) )
{
SQLLongint newValueOnDisk;
if ( newValue == null ) { newValueOnDisk = new SQLLongint(); }
else { newValueOnDisk = new SQLLongint( newValue.longValue() ); }
row.setColumn( columnNum, newValueOnDisk );
heapCC.replace( rowLocation, row.getRowArray(), columnToUpdate );
return true;