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
8e198f57
Commit
8e198f57
authored
Jun 21, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/51-work
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
parents
a75c1ead
a32d815a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
8 deletions
+27
-8
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+27
-8
No files found.
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
8e198f57
...
...
@@ -4696,11 +4696,6 @@ Dbdict::alterTab_writeTableConf(Signal* signal,
SegmentedSectionPtr
tabInfoPtr
;
getSection
(
tabInfoPtr
,
alterTabPtr
.
p
->
m_tabInfoPtrI
);
signal
->
setSection
(
tabInfoPtr
,
AlterTabReq
::
DICT_TAB_INFO
);
#ifndef DBUG_OFF
ndbout_c
(
"DICT_TAB_INFO in DICT"
);
SimplePropertiesSectionReader
reader
(
tabInfoPtr
,
getSectionSegmentPool
());
reader
.
printAll
(
ndbout
);
#endif
EXECUTE_DIRECT
(
SUMA
,
GSN_ALTER_TAB_REQ
,
signal
,
AlterTabReq
::
SignalLength
);
releaseSections
(
signal
);
...
...
@@ -6961,13 +6956,37 @@ void Dbdict::releaseTableObject(Uint32 tableId, bool removeFromHash)
{
TableRecordPtr
tablePtr
;
c_tableRecordPool
.
getPtr
(
tablePtr
,
tableId
);
if
(
removeFromHash
){
if
(
removeFromHash
)
{
jam
();
release_object
(
tablePtr
.
p
->
m_obj_ptr_i
);
}
else
{
Rope
tmp
(
c_rope_pool
,
tablePtr
.
p
->
tableName
);
tmp
.
erase
();
}
Rope
frm
(
c_rope_pool
,
tablePtr
.
p
->
frmData
);
frm
.
erase
();
{
Rope
tmp
(
c_rope_pool
,
tablePtr
.
p
->
frmData
);
tmp
.
erase
();
}
{
Rope
tmp
(
c_rope_pool
,
tablePtr
.
p
->
tsData
);
tmp
.
erase
();
}
{
Rope
tmp
(
c_rope_pool
,
tablePtr
.
p
->
ngData
);
tmp
.
erase
();
}
{
Rope
tmp
(
c_rope_pool
,
tablePtr
.
p
->
rangeData
);
tmp
.
erase
();
}
tablePtr
.
p
->
tabState
=
TableRecord
::
NOT_DEFINED
;
LocalDLFifoList
<
AttributeRecord
>
list
(
c_attributeRecordPool
,
...
...
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