Ensure SQL is flushed before sync_phase
Ensure SQL is flushed before sync_phase

dropbox/changes,dropbox/changes,bowlofstew/changes,dropbox/changes,wfxiang08/changes,bowlofstew/changes,wfxiang08/changes,wfxiang08/changes,dropbox/changes,wfxiang08/changes,bowlofstew/changes,bowlofstew/changes