[dev] [commits] Horde branch master updated. 40ca41b9c94a20146cc4a343ac2896e911d81dda

Chuck Hagenbuch chuck at horde.org
Sun May 30 02:02:36 UTC 2010


Quoting Chuck Hagenbuch <chuck at horde.org>:

>> 2. Does Horde_Db support row-level locking on Mysql DBs?  With  
>> Horde_Db, I was able to abstract all of the sessionhandler DB code  
>> into one driver (instead of separate drivers for Mysql, Postgres,  
>> Oracle, etc) except for the row-level locking.  Currently, the SQL  
>> driver is using table level locking (via commit transactions), but  
>> I am unsure if/how we can do locking at the row level.
>
> Pretty sure that this is missing entirely now. Also, transactions is  
> not the same thing as row locking...

Actually the addLock() method adds FOR UPDATE to a SELECT clause,  
which should take care of this for databases that support it.

-chuck


More information about the dev mailing list