Query: wiki::toolkit::store::mysql
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Wiki::Toolkit::Store::MySQL(3pm) User Contributed Perl Documentation Wiki::Toolkit::Store::MySQL(3pm)NAMEWiki::Toolkit::Store::MySQL - MySQL storage backend for Wiki::ToolkitREQUIRESSubclasses Wiki::Toolkit::Store::Database.SYNOPSISSee Wiki::Toolkit::Store::DatabaseMETHODScheck_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 the version of the updated node on successful writing, 0 if checksum doesn't match, -1 if the change was not applied, 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. perl v5.14.2 2011-09-25 Wiki::Toolkit::Store::MySQL(3pm)