[DATABASE] Start transactions with START TRANSACTION
"BEGIN" is non-standard and unnecessary.
This commit is contained in:
@@ -546,7 +546,7 @@ abstract class Managed_DataObject extends Memcached_DataObject
|
||||
$this->onUpdateKeys($orig);
|
||||
|
||||
// do it in a transaction
|
||||
$this->query('BEGIN');
|
||||
$this->query('START TRANSACTION');
|
||||
|
||||
$parts = [];
|
||||
foreach ($this->keys() as $k) {
|
||||
|
Reference in New Issue
Block a user