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