MASTER_POS_WAIT()
Syntax
This is actually a function, not a statement. It is used to ensure that the slave has read and executed events up to a given position in the master's binary log. See , "Miscellaneous Functions", for a full description.