| 319 | } |
| 320 | |
| 321 | arrow::Result<ActionBeginSavepointRequest> ParseActionBeginSavepointRequest( |
| 322 | const Action& action) { |
| 323 | pb::sql::ActionBeginSavepointRequest command; |
| 324 | RETURN_NOT_OK(flight::internal::UnpackProtoAction(action, &command)); |
| 325 | |
| 326 | ActionBeginSavepointRequest result; |
| 327 | result.transaction_id = command.transaction_id(); |
| 328 | result.name = command.name(); |
| 329 | return result; |
| 330 | } |
| 331 | |
| 332 | arrow::Result<ActionBeginTransactionRequest> ParseActionBeginTransactionRequest( |
| 333 | const Action& action) { |
nothing calls this directly
no test coverage detected