[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
parent 97bddc4537
commit 6c035d01d4
36 changed files with 1588 additions and 1397 deletions

View File

@@ -386,7 +386,7 @@ function common_rememberme($user=null)
// Wrap the insert in some good ol' fashioned transaction code
$rm->query('BEGIN');
$rm->query('START TRANSACTION');
$result = $rm->insert();