Ignore:
Timestamp:
Oct 20, 2008, 12:03:15 AM (13 years ago)
Author:
Dominic Hargreaves
Message:

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

File:
1 edited

Legend:

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

    r431 r466  
    4646Locks the node, verifies the checksum, calls
    4747C<write_node_post_locking> with all supplied arguments, unlocks the
    48 node. Returns 1 on successful writing, 0 if checksum doesn't match,
    49 croaks on error.
     48node. Returns the version of the updated node on successful writing, 0 if
     49checksum doesn't match, croaks on error.
    5050
    5151Note:  Uses MySQL's user level locking, so any locks are released when
Note: See TracChangeset for help on using the changeset viewer.