| 352 | } |
| 353 | |
| 354 | void MaterializeMySQLSyncThread::flushBuffersData(Buffers & buffers, MaterializeMetadata & metadata) |
| 355 | { |
| 356 | if (buffers.data.empty()) |
| 357 | return; |
| 358 | |
| 359 | auto position = client.getPosition(); |
| 360 | |
| 361 | metadata.transaction(position, [&]() { buffers.commit(getContext(), position); }); |
| 362 | |
| 363 | LOG_INFO(log, "Finish flushing and MySQL executed position: \n {}", dumpPosition(position)); |
| 364 | } |
| 365 | |
| 366 | static inline void fillSignColumnsData(Block & data, Int8 sign_value, size_t fill_size) |
| 367 | { |
nothing calls this directly
no test coverage detected