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
8e6e313c
Commit
8e6e313c
authored
Dec 11, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug#33142: access after free() for blob replication and online alter table
parent
481385de
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
+12
-0
No files found.
storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
View file @
8e6e313c
...
...
@@ -792,6 +792,18 @@ NdbEventOperationImpl::receive_event()
p
=
p
->
next
();
}
}
// change the blobHandle's to refer to the new table object.
NdbBlob
*
p
=
theBlobList
;
while
(
p
)
{
int
no
=
p
->
getColumn
()
->
getColumnNo
();
NdbColumnImpl
*
tAttrInfo
=
at
->
getColumn
(
no
);
DBUG_PRINT
(
"info"
,
(
"blob_handle: 0x%lx "
"switching column impl 0x%lx -> 0x%lx"
,
(
long
)
p
,
(
long
)
p
->
theColumn
,
(
long
)
tAttrInfo
));
p
->
theColumn
=
tAttrInfo
;
p
=
p
->
next
();
}
if
(
tmp_table_impl
)
delete
tmp_table_impl
;
}
...
...
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