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
54074472
Commit
54074472
authored
Feb 21, 2006
by
pekka@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - fix event created by ndb_restore bug#17045 (not really)
parent
93db514d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
mysql-test/t/disabled.def
mysql-test/t/disabled.def
+1
-1
storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
+1
-3
storage/ndb/tools/restore/consumer_restore.cpp
storage/ndb/tools/restore/consumer_restore.cpp
+7
-0
No files found.
mysql-test/t/disabled.def
View file @
54074472
...
@@ -14,7 +14,7 @@ ndb_autodiscover : Needs to be fixed w.r.t binlog
...
@@ -14,7 +14,7 @@ ndb_autodiscover : Needs to be fixed w.r.t binlog
ndb_autodiscover2 : Needs to be fixed w.r.t binlog
ndb_autodiscover2 : Needs to be fixed w.r.t binlog
ndb_binlog_basic : Results are not deterministic, Tomas will fix
ndb_binlog_basic : Results are not deterministic, Tomas will fix
ndb_binlog_ddl_multi : Bug#17038 [PATCH PENDING]
ndb_binlog_ddl_multi : Bug#17038 [PATCH PENDING]
ndb_dd_backuprestore :
Bug#17045 NdbDictionaryImpl::fix_blob_events causes core
ndb_dd_backuprestore :
Need to fix result
ndb_load : Bug#17233
ndb_load : Bug#17233
partition_03ndb : Bug#16385
partition_03ndb : Bug#16385
ps_7ndb : dbug assert in RBR mode when executing test suite
ps_7ndb : dbug assert in RBR mode when executing test suite
...
...
storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
View file @
54074472
...
@@ -350,10 +350,8 @@ NdbEventOperationImpl::getBlobHandle(const NdbColumnImpl *tAttrInfo, int n)
...
@@ -350,10 +350,8 @@ NdbEventOperationImpl::getBlobHandle(const NdbColumnImpl *tAttrInfo, int n)
// to hide blob op it is linked under main op, not under m_ndb
// to hide blob op it is linked under main op, not under m_ndb
NdbEventOperation
*
tmp
=
NdbEventOperation
*
tmp
=
m_ndb
->
theEventBuffer
->
createEventOperation
(
bename
,
m_error
);
m_ndb
->
theEventBuffer
->
createEventOperation
(
bename
,
m_error
);
if
(
tmp
==
NULL
)
{
if
(
tmp
==
NULL
)
m_error
.
code
=
m_ndb
->
theEventBuffer
->
m_error
.
code
;
DBUG_RETURN
(
NULL
);
DBUG_RETURN
(
NULL
);
}
tBlobOp
=
&
tmp
->
m_impl
;
tBlobOp
=
&
tmp
->
m_impl
;
// pointer to main table op
// pointer to main table op
...
...
storage/ndb/tools/restore/consumer_restore.cpp
View file @
54074472
...
@@ -748,10 +748,17 @@ BackupRestore::table(const TableS & table){
...
@@ -748,10 +748,17 @@ BackupRestore::table(const TableS & table){
my_event
.
addTableEvent
(
NdbDictionary
::
Event
::
TE_ALL
);
my_event
.
addTableEvent
(
NdbDictionary
::
Event
::
TE_ALL
);
// add all columns to the event
// add all columns to the event
bool
has_blobs
=
false
;
for
(
int
a
=
0
;
a
<
tab
->
getNoOfColumns
();
a
++
)
for
(
int
a
=
0
;
a
<
tab
->
getNoOfColumns
();
a
++
)
{
{
my_event
.
addEventColumn
(
a
);
my_event
.
addEventColumn
(
a
);
NdbDictionary
::
Column
::
Type
t
=
tab
->
getColumn
(
a
)
->
getType
();
if
(
t
==
NdbDictionary
::
Column
::
Blob
||
t
==
NdbDictionary
::
Column
::
Text
)
has_blobs
=
true
;
}
}
if
(
has_blobs
)
my_event
.
mergeEvents
(
true
);
while
(
dict
->
createEvent
(
my_event
)
)
// Add event to database
while
(
dict
->
createEvent
(
my_event
)
)
// Add event to database
{
{
...
...
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