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