[DATABASE] Start transactions with START TRANSACTION

"BEGIN" is non-standard and unnecessary.
This commit is contained in:
Alexei Sorokin
2020-06-08 12:25:01 +03:00
committed by Diogo Peralta Cordeiro
parent 6ea0d441cd
commit 9ac632ca2d
36 changed files with 1588 additions and 1397 deletions

View File

@@ -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) {