[sr-dev] git:4.1: presence: bugfix: Add option to disable per-Table lock for database layer

Juha Heinanen jh at tutpro.com
Sat Feb 1 20:38:19 CET 2014


Carsten Bock writes:

> presence: bugfix: Add option to disable per-Table lock for database layer
> (causes trouble with MySQL in DB_ONLY mode)
...
> +	    <title><varname>db_table_lock_type</varname> (integer)</title>
> +	    <para>
> +		Enable (=1) or disable (=0) the Locks for table during an transaction.
> +		Locking only the "current" table causes problems with a MySQL-Databases
> +		in "DB-Only" mode.

does it make sense to disable the locks?  i would imagine that they were
introduced for a purpose. what can break if locks are not used?

does the same MySQL trouble exist with locks used in rls module?

-- juha



More information about the sr-dev mailing list