Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 41.9Mb
PDF (A4) - 42.0Mb
Man Pages (TGZ) - 266.1Kb
Man Pages (Zip) - 376.0Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb
Excerpts from this Manual

13.4.2.7 SOURCE_POS_WAIT() Statement

SELECT SOURCE_POS_WAIT('source_log_file', source_log_pos [, timeout][, channel])

This is actually a function, not a statement. It is used to ensure that the replica has read and executed events up to a given position in the source's binary log. See Section 12.24, “Miscellaneous Functions”, for a full description.

From MySQL 8.0.26, use SOURCE_POS_WAIT in place of MASTER_POS_WAIT, which is deprecated from that release. In releases before MySQL 8.0.26, use MASTER_POS_WAIT.