28 $this->fname = $fname;
29 $this->callback = $callback;
32 foreach ( $conns as $conn ) {
33 if ( $conn->trxLevel() ) {
40 if ( $this->callback ) {
41 $this->dbw->doAtomicSection( $this->fname, $this->callback );
50 if ( $trigger === IDatabase::TRIGGER_ROLLBACK ) {
51 $this->callback =
null;
61class_alias( AtomicSectionUpdate::class,
'AtomicSectionUpdate' );