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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
dc44cec5
Commit
dc44cec5
authored
Oct 17, 2013
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
8f4eb208
c75e92fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
+16
-6
storage/innobase/row/row0mysql.cc
storage/innobase/row/row0mysql.cc
+8
-3
storage/xtradb/row/row0mysql.c
storage/xtradb/row/row0mysql.c
+8
-3
No files found.
storage/innobase/row/row0mysql.cc
View file @
dc44cec5
...
...
@@ -5004,9 +5004,14 @@ end:
}
else
{
if
(
old_is_tmp
&&
!
new_is_tmp
)
{
/* After ALTER TABLE the table statistics
needs to be rebuilt. It will be rebuilt
when the table is loaded again. */
table
->
stat_initialized
=
FALSE
;
needs to be rebuilt. Even if we close
table below there could be other
transactions using this table (e.g.
SELECT * FROM INFORMATION_SCHEMA.`TABLE_CONSTRAINTS`),
thus we can't remove table from dictionary cache
here. Therefore, we initialize the
transient statistics here. */
dict_stats_update_transient
(
table
);
}
}
}
...
...
storage/xtradb/row/row0mysql.c
View file @
dc44cec5
...
...
@@ -4295,9 +4295,14 @@ end:
}
else
{
if
(
old_is_tmp
&&
!
new_is_tmp
)
{
/* After ALTER TABLE the table statistics
needs to be rebuilt. It will be rebuilt
when the table is loaded again. */
table
->
stat_initialized
=
FALSE
;
needs to be rebuilt. Even if we close
table below there could be other
transactions using this table (e.g.
SELECT * FROM INFORMATION_SCHEMA.`TABLE_CONSTRAINTS`),
thus we can't remove table from dictionary cache
here. Therefore, we initialize the
transient statistics here. */
dict_stats_update_transient
(
table
);
}
}
}
...
...
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