Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
f23cdbcd
Commit
f23cdbcd
authored
Jan 13, 2005
by
anjuta@arthur.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug in InnoDB;
file closing in extra/comp_err.c
parent
e52dce98
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
.bzrignore
.bzrignore
+1
-0
extra/comp_err.c
extra/comp_err.c
+1
-0
innobase/os/os0proc.c
innobase/os/os0proc.c
+1
-1
No files found.
.bzrignore
View file @
f23cdbcd
...
@@ -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
extra/comp_err.c
View file @
f23cdbcd
...
@@ -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
);
}
}
...
...
innobase/os/os0proc.c
View file @
f23cdbcd
...
@@ -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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment