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
2cef9ef9
Commit
2cef9ef9
authored
Feb 20, 2002
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
memory leak with broken tables fixed
parent
26e0a5c5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
Docs/manual.texi
Docs/manual.texi
+9
-1
sql/sql_base.cc
sql/sql_base.cc
+1
-0
sql/table.cc
sql/table.cc
+0
-1
No files found.
Docs/manual.texi
View file @
2cef9ef9
...
...
@@ -46833,6 +46833,7 @@ users use this code as the rest of the code and because of this we are
not yet 100% confident in this code.
@menu
* News-3.23.50:: Changes in release 3.23.50
* News-3.23.49:: Changes in release 3.23.49
* News-3.23.48:: Changes in release 3.23.48
* News-3.23.47:: Changes in release 3.23.47
...
...
@@ -46886,7 +46887,14 @@ not yet 100% confident in this code.
* News-3.23.0:: Changes in release 3.23.0
@end menu
@node News-3.23.49, News-3.23.48, News-3.23.x, News-3.23.x
@node News-3.23.50, News-3.23.49, News-3.23.x, News-3.23.x
@appendixsubsec Changes in release 3.23.50
@itemize @bullet
@item
Memory leak (16 bytes per every @strong{broken} table) closed.
@end itemize
@node News-3.23.49, News-3.23.48, News-3.23.50, News-3.23.x
@appendixsubsec Changes in release 3.23.49
@itemize @bullet
@item
sql/sql_base.cc
View file @
2cef9ef9
...
...
@@ -277,6 +277,7 @@ void intern_close_table(TABLE *table)
free_io_cache
(
table
);
if
(
table
->
file
)
VOID
(
closefrm
(
table
));
// close file
hash_free
(
&
table
->
name_hash
);
}
...
...
sql/table.cc
View file @
2cef9ef9
...
...
@@ -600,7 +600,6 @@ int closefrm(register TABLE *table)
}
delete
table
->
file
;
table
->
file
=
0
;
/* For easyer errorchecking */
hash_free
(
&
table
->
name_hash
);
free_root
(
&
table
->
mem_root
,
MYF
(
0
));
DBUG_RETURN
(
error
);
}
...
...
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