MySQL 5.6 Reference Manual Including MySQL NDB Cluster 7.3-7.4 Reference Guide

13.4.2.2 MASTER_POS_WAIT() Statement

SELECT MASTER_POS_WAIT('source_log_file', source_log_pos [, timeout])

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.20, “Miscellaneous Functions”, for a full description.