MCPcopy Create free account
hub / github.com/arkdb/inception / reset_write_pos

Method reset_write_pos

sql/binlog.cc:341–354  ·  view source on GitHub ↗

Sets the write position to point at the position given. If the cache has swapped to a file, it reinitializes it, so that the proper data is added to the IO_CACHE buffer. Otherwise, it just does a my_b_seek. my_b_seek will not work if the cache has swapped, that's why we do this workaround. @param[IN] pos the new write position. @param[IN] use_reinit if the position

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

gtid_before_write_cacheFunction · 0.80

Calls 2

reinit_io_cacheFunction · 0.85
my_b_seekFunction · 0.85

Tested by

no test coverage detected