foreach ( $conns2 as $conns3 ) {
foreach ( $conns3 as $conn ) {
if ( $conn->trxLevel() ) {
- $conn->commit( __METHOD__, true );
+ $conn->commit( __METHOD__, 'flush' );
}
}
}
}
foreach ( $conns2[$masterIndex] as $conn ) {
if ( $conn->trxLevel() && $conn->doneWrites() ) {
- $conn->commit( __METHOD__, true );
+ $conn->commit( __METHOD__, 'flush' );
}
}
}