Commit f23cdbcd authored by anjuta@arthur.local's avatar anjuta@arthur.local

Bug in InnoDB;

file closing in extra/comp_err.c
parent e52dce98
...@@ -986,3 +986,4 @@ vio/viotest-ssl ...@@ -986,3 +986,4 @@ vio/viotest-ssl
extra/mysqld_error.h extra/mysqld_error.h
extra/sql_state.h extra/sql_state.h
extra/created_include_files extra/created_include_files
extra/mysqld_ername.h
...@@ -243,6 +243,7 @@ static int create_header_files(struct errors *error_head) ...@@ -243,6 +243,7 @@ static int create_header_files(struct errors *error_head)
fprintf(er_definef, "#define ER_ERROR_MESSAGES %d\n", er_count); fprintf(er_definef, "#define ER_ERROR_MESSAGES %d\n", er_count);
my_fclose(er_definef, MYF(0)); my_fclose(er_definef, MYF(0));
my_fclose(sql_statef, MYF(0)); my_fclose(sql_statef, MYF(0));
my_fclose(er_namef, MYF(0));
DBUG_RETURN(0); DBUG_RETURN(0);
} }
......
...@@ -565,7 +565,7 @@ os_mem_alloc_large( ...@@ -565,7 +565,7 @@ os_mem_alloc_large(
if (ptr) { if (ptr) {
if (set_to_zero) { if (set_to_zero) {
#ifdef UNIV_SET_MEM_TO_ZERO #ifdef UNIV_SET_MEM_TO_ZERO
memset(ret, '\0', size); memset(ptr, '\0', size);
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment