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
1df5f9b3
Commit
1df5f9b3
authored
Feb 01, 2006
by
mskold@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes to BLOB replication code for changes to event(now stores own copy of table)
parent
8e024290
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
+1
-1
storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp
storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp
+1
-0
storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
+0
-1
No files found.
storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
View file @
1df5f9b3
...
@@ -4670,7 +4670,7 @@ NdbDictionaryImpl::fix_blob_events(const NdbDictionary::Table* table, const char
...
@@ -4670,7 +4670,7 @@ NdbDictionaryImpl::fix_blob_events(const NdbDictionary::Table* table, const char
{
{
const
NdbTableImpl
&
t
=
table
->
m_impl
;
const
NdbTableImpl
&
t
=
table
->
m_impl
;
const
NdbEventImpl
*
ev
=
getEvent
(
ev_name
);
const
NdbEventImpl
*
ev
=
getEvent
(
ev_name
);
assert
(
ev
!=
NULL
&&
ev
->
m_tableImpl
==
&
t
);
assert
(
ev
!=
NULL
);
Uint32
i
;
Uint32
i
;
for
(
i
=
0
;
i
<
t
.
m_columns
.
size
();
i
++
)
{
for
(
i
=
0
;
i
<
t
.
m_columns
.
size
();
i
++
)
{
assert
(
t
.
m_columns
[
i
]
!=
NULL
);
assert
(
t
.
m_columns
[
i
]
!=
NULL
);
...
...
storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp
View file @
1df5f9b3
...
@@ -267,6 +267,7 @@ class NdbEventImpl : public NdbDictionary::Event, public NdbDictObjectImpl {
...
@@ -267,6 +267,7 @@ class NdbEventImpl : public NdbDictionary::Event, public NdbDictObjectImpl {
friend
class
NdbEventOperationImpl
;
friend
class
NdbEventOperationImpl
;
friend
class
NdbEventBuffer
;
friend
class
NdbEventBuffer
;
friend
class
EventBufData_hash
;
friend
class
EventBufData_hash
;
friend
class
NdbBlob
;
public:
public:
NdbEventImpl
();
NdbEventImpl
();
NdbEventImpl
(
NdbDictionary
::
Event
&
);
NdbEventImpl
(
NdbDictionary
::
Event
&
);
...
...
storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
View file @
1df5f9b3
...
@@ -335,7 +335,6 @@ NdbEventOperationImpl::getBlobHandle(const NdbColumnImpl *tAttrInfo, int n)
...
@@ -335,7 +335,6 @@ NdbEventOperationImpl::getBlobHandle(const NdbColumnImpl *tAttrInfo, int n)
NdbEventOperationImpl
*
tLastBlopOp
=
NULL
;
NdbEventOperationImpl
*
tLastBlopOp
=
NULL
;
while
(
tBlobOp
!=
NULL
)
{
while
(
tBlobOp
!=
NULL
)
{
if
(
strcmp
(
tBlobOp
->
m_eventImpl
->
m_name
.
c_str
(),
bename
)
==
0
)
{
if
(
strcmp
(
tBlobOp
->
m_eventImpl
->
m_name
.
c_str
(),
bename
)
==
0
)
{
assert
(
tBlobOp
->
m_eventImpl
->
m_tableImpl
==
tAttrInfo
->
m_blobTable
);
break
;
break
;
}
}
tLastBlopOp
=
tBlobOp
;
tLastBlopOp
=
tBlobOp
;
...
...
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