• unknown's avatar
    Various fixes to fix memory leaks after merging replication · dde24cb4
    unknown authored
    tree with main.
    
    
    sql/sql_binlog.cc:
      Adding code to free memory after execution of BINLOG statement.
      It caused a memory leak in the case that the execution failed
      for any reason.
    sql/sql_class.cc:
      Since rli_fake is checked for NULL at various occations to mean
      that no rli_fake is assigned, NULL is assigned to rli_fake after
      deleting the instance.
    dde24cb4
sql_binlog.cc 7.53 KB