h2/src/main/org/h2/mvstore/MVMap.java
/**
     * Create a copy of a page, if the write version is higher than the current
     * version. If a copy is created, the old page is marked as deleted.
     *
     * @param p the page
     * @param writeVersion the write version
     * @return a page with the given write version
     */
Create a copy of a page, if the write version is higher than the current
version. If a copy is created, the old page is marked as deleted.

@param p the page
@param writeVersion the write version
@return a page with the given write version
Create a copy of a page if the write version is higher than the current version . If a copy is created the old page is marked as deleted . @param p the page @param writeVersion the write version @return a page with the given write version
protected Page copyOnWrite(Page p, long writeVersion) {
        if (p.getVersion() == writeVersion) {
            return p;
        }
        return p.copy(writeVersion);
    }
protected Page copyOnWrite ( Page p , long writeVersion ) { if ( p . getVersion ( ) == writeVersion ) { return p ; } return p . copy ( writeVersion ) ; }
Create a copy of a page, if the write version is higher than the current
 version.
Create a copy of a page if the write version is higher than the current version .