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
45d46a47
Commit
45d46a47
authored
Sep 09, 2005
by
sergefp@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fixes. Call sp_cache_clear in THD::cleanup.
parent
3d6759d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
sql/sql_class.cc
sql/sql_class.cc
+3
-4
No files found.
sql/sql_class.cc
View file @
45d46a47
...
@@ -383,8 +383,10 @@ void THD::cleanup(void)
...
@@ -383,8 +383,10 @@ void THD::cleanup(void)
my_free
((
char
*
)
variables
.
time_format
,
MYF
(
MY_ALLOW_ZERO_PTR
));
my_free
((
char
*
)
variables
.
time_format
,
MYF
(
MY_ALLOW_ZERO_PTR
));
my_free
((
char
*
)
variables
.
date_format
,
MYF
(
MY_ALLOW_ZERO_PTR
));
my_free
((
char
*
)
variables
.
date_format
,
MYF
(
MY_ALLOW_ZERO_PTR
));
my_free
((
char
*
)
variables
.
datetime_format
,
MYF
(
MY_ALLOW_ZERO_PTR
));
my_free
((
char
*
)
variables
.
datetime_format
,
MYF
(
MY_ALLOW_ZERO_PTR
));
sp_cache_clear
(
&
sp_proc_cache
);
sp_cache_clear
(
&
sp_proc_cache
);
sp_cache_clear
(
&
sp_func_cache
);
/*psergey: move to ~THD? */
sp_cache_clear
(
&
sp_func_cache
);
if
(
global_read_lock
)
if
(
global_read_lock
)
unlock_global_read_lock
(
this
);
unlock_global_read_lock
(
this
);
if
(
ull
)
if
(
ull
)
...
@@ -424,9 +426,6 @@ THD::~THD()
...
@@ -424,9 +426,6 @@ THD::~THD()
ha_close_connection
(
this
);
ha_close_connection
(
this
);
sp_cache_clear
(
&
sp_proc_cache
);
sp_cache_clear
(
&
sp_func_cache
);
DBUG_PRINT
(
"info"
,
(
"freeing host"
));
DBUG_PRINT
(
"info"
,
(
"freeing host"
));
if
(
host
!=
my_localhost
)
// If not pointer to constant
if
(
host
!=
my_localhost
)
// If not pointer to constant
safeFree
(
host
);
safeFree
(
host
);
...
...
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