| 32 | } |
| 33 | |
| 34 | static void checkNotOrdinaryDatabase(const StoragePtr & storage) |
| 35 | { |
| 36 | if (storage->getStorageID().uuid != UUIDHelpers::Nil) |
| 37 | return; |
| 38 | |
| 39 | throw Exception(ErrorCodes::NOT_IMPLEMENTED, "Table {} belongs to database with Ordinary engine. " |
| 40 | "This engine is deprecated and is not supported in transactions.", storage->getStorageID().getNameForLogs()); |
| 41 | } |
| 42 | |
| 43 | MergeTreeTransaction::MergeTreeTransaction(CSN snapshot_, LocalTID local_tid_, UUID host_id, std::list<CSN>::iterator snapshot_it_) |
| 44 | : tid({snapshot_, local_tid_, host_id}) |
no test coverage detected