| 182 | } |
| 183 | |
| 184 | void Replicator::prepareTransaction(CheckStatusWrapper* status, Transaction* transaction) |
| 185 | { |
| 186 | try |
| 187 | { |
| 188 | auto& txnData = transaction->getData(); |
| 189 | |
| 190 | txnData.putTag(opPrepareTransaction); |
| 191 | |
| 192 | flush(txnData, FLUSH_PREPARE); |
| 193 | } |
| 194 | catch (const Exception& ex) |
| 195 | { |
| 196 | ex.stuffException(status); |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | void Replicator::commitTransaction(CheckStatusWrapper* status, Transaction* transaction) |
| 201 | { |
nothing calls this directly
no test coverage detected