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