NAME
CGI::Wiki::Store::MySQL - MySQL storage backend for CGI::Wiki
REQUIRES
Subclasses CGI::Wiki::Store::Database.
SYNOPSIS
See CGI::Wiki::Store::Database
METHODS
- check_and_write_node
-
$store->check_and_write_node( node => $node, checksum => $checksum, %other_args );
Locks the node, verifies the checksum, calls
write_node_post_locking
with all supplied arguments, unlocks the node. Returns 1 on successful writing, 0 if checksum doesn't match, croaks on error.Note: Uses MySQL's user level locking, so any locks are released when the database handle disconnects. Doing it like this because I can't seem to get it to work properly with transactions.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 37:
=over without closing =back