24.7.1 Backup Breakpoint

Note: Backup Breakpoints were based on DBUG_SYNC_POINT. They were part of the MySQL code in some early 6.0 versions. Backup Breakpoints have been removed from the code in favor of the Debug Sync Facility.




The BACKUP_BREAKPOINT macro consists basically of:

DBUG_EXECUTE_IF("backup_debug", DBUG_SYNC_POINT((S), 300))

Opportunities and downsides of the DBUG_SYNC_POINT method apply here too.

In addition we had the downside that DBUG tracing was hampered as explained in the "Dbug Sleep" section.

User Comments
Sign Up Login You must be logged in to post a comment.