CC-5109: Fix race-condition when updating cc_pref table
-not a race condition..was a logic error.
This commit is contained in:
parent
1c452988cf
commit
84abd78c8f
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ class Application_Model_Preference
|
|||
$paramMap[':id'] = $userId;
|
||||
}
|
||||
|
||||
Application_Common_Database::prepareAndExecute("LOCK TABLE cc_pref");
|
||||
|
||||
$result = Application_Common_Database::prepareAndExecute($sql,
|
||||
$paramMap,
|
||||
Application_Common_Database::COLUMN,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue