| @@ 1095-1100 (lines=6) @@ | ||
| 1092 | } |
|
| 1093 | ); |
|
| 1094 | ||
| 1095 | if ( $failures ) { |
|
| 1096 | throw new DBExpectedError( |
|
| 1097 | null, |
|
| 1098 | "$fname: Flush failed on server(s) " . implode( "\n", array_unique( $failures ) ) |
|
| 1099 | ); |
|
| 1100 | } |
|
| 1101 | } |
|
| 1102 | ||
| 1103 | public function commitMasterChanges( $fname = __METHOD__ ) { |
|
| @@ 1129-1134 (lines=6) @@ | ||
| 1126 | } |
|
| 1127 | ); |
|
| 1128 | ||
| 1129 | if ( $failures ) { |
|
| 1130 | throw new DBExpectedError( |
|
| 1131 | null, |
|
| 1132 | "$fname: Commit failed on server(s) " . implode( "\n", array_unique( $failures ) ) |
|
| 1133 | ); |
|
| 1134 | } |
|
| 1135 | } |
|
| 1136 | ||
| 1137 | public function runMasterPostTrxCallbacks( $type ) { |
|