LJ::release_lock

LJ::release_lock — release a MySQL lock on a given key/dbrole combination.

Use

LJ::release_lock(db, dbrole, lockname);

Arguments

  • db. 

  • dbrole. role on which to get this lock, either 'global' or 'user'.

  • lockname. the name to be used for this lock

Source:

cgi-bin/ljdb.pl

Returns:

undef if called improperly, true on success, die() on failure