• Michael Widenius's avatar
    MDEV-734: LP:917662 - mysql_print_status() missing final fflush() · 797a44a9
    Michael Widenius authored
    Patch from 5.6 by Praveenkumar Hulakund
    Bug#13608112 - 64048: MYSQL_PRINT_STATUS() MISSING FINAL FFLUSH()
      
      Analysis:
      While printing debug information, memory related information and event
      related information were written to buffer after flushing it. Because of this,
      these information were getting printed when we do the next flush.
      
      Fix:
      Instead of calling fflush() before writing memory and event
      information, calling it after memory and event information.
    797a44a9
sql_test.cc 18.4 KB