updateWithKeys did not always COMMIT transactions

This commit is contained in:
Mikael Nordfeldth 2015-02-08 15:17:50 +01:00
parent 305ef6ad85
commit 59bbc81c4b
1 changed files with 3 additions and 0 deletions

View File

@ -353,6 +353,9 @@ abstract class Managed_DataObject extends Memcached_DataObject
}
$orig->decache();
$this->encache();
// commit our db transaction since we won't reach the COMMIT below
$this->query('COMMIT');
return true;
}