• Nirbhay Choubey's avatar
    BUG#11760384 - 52792: mysqldump in XML mode does not dump · 99e462ab
    Nirbhay Choubey authored
                         routines.
    
    mysqldump in xml mode did not dump routines, events or
    triggers.
    
    This patch fixes this issue by fixing the if conditions
    that disallowed the dump of above mentioned objects in
    xml mode, and added the required code to enable dump
    in xml format.
    
    
    client/mysqldump.c:
      BUG#11760384 - 52792: mysqldump in XML mode does not dump
                            routines.
      
      Fixed some if conditions to allow execution of dump methods
      for xml and further added the relevant code at places to produce
      the dump in xml format.
    mysql-test/r/mysqldump.result:
      Added a test case for Bug#11760384.
    mysql-test/t/mysqldump.test:
      Added a test case for Bug#11760384.
    99e462ab
mysqldump.result 211 KB