• Mike Griffin's avatar
    MDEV-18702 mysqldump: add variable 'max-statement-time' · 53c4e4d0
    Mike Griffin authored
    With a global non-default max-statement-time of a time interval that exceed
    the query time mysqldump queries when doing a backup.
    
    To solve both, add a max-statement-time option, defaulting to 0 (unlimited time).
    
    Also like mariabackup, set the session wait_timeout=DEFAULT (28800). The
    time/processing between mysqldump times isn't expected to get that
    close ever, but let's adopt the standard of mariabackup as no-one has
    challenged it has having a detrimental effect.
    
    Reviewer and test case author Daniel Black
    53c4e4d0
mysqldump.c 219 KB