Commit 388cd3a7 authored by unknown's avatar unknown
Browse files

Bug in InnoDB;

file closing in extra/comp_err.c


BitKeeper/etc/ignore:
  added extra/mysqld_ername.h
extra/comp_err.c:
  Added proper closing of the file.
innobase/os/os0proc.c:
  Fixed small bug in innodb.
parent d5202685
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -986,3 +986,4 @@ vio/viotest-ssl
extra/mysqld_error.h
extra/sql_state.h
extra/created_include_files
extra/mysqld_ername.h
+1 −0
Original line number Diff line number Diff line
@@ -243,6 +243,7 @@ static int create_header_files(struct errors *error_head)
  fprintf(er_definef, "#define ER_ERROR_MESSAGES %d\n", er_count);
  my_fclose(er_definef, MYF(0));
  my_fclose(sql_statef, MYF(0));
  my_fclose(er_namef, MYF(0));
  DBUG_RETURN(0);
}

+1 −1
Original line number Diff line number Diff line
@@ -565,7 +565,7 @@ os_mem_alloc_large(
  if (ptr) {
    if (set_to_zero) {
#ifdef UNIV_SET_MEM_TO_ZERO
      memset(ret, '\0', size);
      memset(ptr, '\0', size);
#endif
    }