Show
Ignore:
Timestamp:
10/20/08 00:03:15 (3 years ago)
Author:
dom
Message:

write_node: return the version of the node that was just committed, if successful (fixes #42)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wiki-toolkit/trunk/lib/Wiki/Toolkit/Store/SQLite.pm

    r431 r466  
    5757Locks the node, verifies the checksum, calls 
    5858C<write_node_post_locking> with all supplied arguments, unlocks the 
    59 node. Returns 1 on successful writing, 0 if checksum doesn't match, 
    60 croaks on error. 
     59node. Returns the version of the updated node on successful writing, 0 if 
     60checksum doesn't match, croaks on error. 
    6161 
    6262=cut