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
66f745cd
Commit
66f745cd
authored
Apr 13, 2006
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrong ndb object used to drop event operation causing DBUG_ASSERT in shutdown/cleanup
parent
b015b2dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
sql/ha_ndbcluster_binlog.cc
sql/ha_ndbcluster_binlog.cc
+8
-5
No files found.
sql/ha_ndbcluster_binlog.cc
View file @
66f745cd
...
...
@@ -1257,7 +1257,7 @@ int ndbcluster_log_schema_op(THD *thd, NDB_SHARE *share,
max_timeout
--
;
if
(
max_timeout
==
0
)
{
sql_print_error
(
"NDB %s: distibuting %s timed out. Ignoring..."
,
sql_print_error
(
"NDB %s: dist
r
ibuting %s timed out. Ignoring..."
,
type_str
,
ndb_schema_object
->
key
);
break
;
}
...
...
@@ -1568,7 +1568,7 @@ ndb_handle_schema_change(THD *thd, Ndb *ndb, NdbEventOperation *pOp,
pOp
->
setCustomData
(
0
);
pthread_mutex_lock
(
&
injector_mutex
);
injector_
ndb
->
dropEventOperation
(
pOp
);
ndb
->
dropEventOperation
(
pOp
);
pOp
=
0
;
pthread_mutex_unlock
(
&
injector_mutex
);
...
...
@@ -2648,7 +2648,8 @@ ndbcluster_handle_drop_table(Ndb *ndb, const char *event_name,
max_timeout
--
;
if
(
max_timeout
==
0
)
{
sql_print_error
(
"NDB %s: timed out. Ignoring..."
,
type_str
);
sql_print_error
(
"NDB %s: %s timed out. Ignoring..."
,
type_str
,
share
->
key
);
break
;
}
if
(
ndb_extra_logging
)
...
...
@@ -3273,7 +3274,7 @@ pthread_handler_t ndb_binlog_thread_func(void *arg)
while
(
pOp
!=
NULL
)
{
if
(
!
pOp
->
hasError
())
ndb_binlog_thread_handle_schema_event
(
thd
,
s
chema
_ndb
,
pOp
,
ndb_binlog_thread_handle_schema_event
(
thd
,
s_ndb
,
pOp
,
&
post_epoch_log_list
,
&
post_epoch_unlock_list
,
&
mem_root
);
...
...
@@ -3533,6 +3534,7 @@ pthread_handler_t ndb_binlog_thread_func(void *arg)
DBUG_PRINT
(
"info"
,(
"removing event operation on %s"
,
op
->
getEvent
()
->
getName
()));
NDB_SHARE
*
share
=
(
NDB_SHARE
*
)
op
->
getCustomData
();
DBUG_ASSERT
(
share
!=
0
);
DBUG_ASSERT
(
share
->
op
==
op
||
share
->
op_old
==
op
);
share
->
op
=
share
->
op_old
=
0
;
...
...
@@ -3552,6 +3554,7 @@ pthread_handler_t ndb_binlog_thread_func(void *arg)
DBUG_PRINT
(
"info"
,(
"removing event operation on %s"
,
op
->
getEvent
()
->
getName
()));
NDB_SHARE
*
share
=
(
NDB_SHARE
*
)
op
->
getCustomData
();
DBUG_ASSERT
(
share
!=
0
);
DBUG_ASSERT
(
share
->
op
==
op
||
share
->
op_old
==
op
);
share
->
op
=
share
->
op_old
=
0
;
...
...
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