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
bdf72a56
Commit
bdf72a56
authored
Feb 01, 2006
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug, retry handling in "ndb schema propagation" incorrect
parent
029fb75c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
sql/ha_ndbcluster_binlog.cc
sql/ha_ndbcluster_binlog.cc
+12
-6
No files found.
sql/ha_ndbcluster_binlog.cc
View file @
bdf72a56
...
@@ -1041,15 +1041,18 @@ int ndbcluster_log_schema_op(THD *thd, NDB_SHARE *share,
...
@@ -1041,15 +1041,18 @@ int ndbcluster_log_schema_op(THD *thd, NDB_SHARE *share,
break
;
break
;
}
}
err:
err:
if
(
trans
->
getNdbError
().
status
==
NdbError
::
TemporaryError
)
const
NdbError
*
this_error
=
trans
?
&
trans
->
getNdbError
()
:
&
ndb
->
getNdbError
();
if
(
this_error
->
status
==
NdbError
::
TemporaryError
)
{
{
if
(
retries
--
)
if
(
retries
--
)
{
{
ndb
->
closeTransaction
(
trans
);
if
(
trans
)
ndb
->
closeTransaction
(
trans
);
continue
;
// retry
continue
;
// retry
}
}
}
}
ndb_error
=
&
trans
->
getNdbError
()
;
ndb_error
=
this_error
;
break
;
break
;
}
}
end:
end:
...
@@ -1235,15 +1238,18 @@ ndbcluster_update_slock(THD *thd,
...
@@ -1235,15 +1238,18 @@ ndbcluster_update_slock(THD *thd,
break
;
break
;
}
}
err:
err:
if
(
trans
->
getNdbError
().
status
==
NdbError
::
TemporaryError
)
const
NdbError
*
this_error
=
trans
?
&
trans
->
getNdbError
()
:
&
ndb
->
getNdbError
();
if
(
this_error
->
status
==
NdbError
::
TemporaryError
)
{
{
if
(
retries
--
)
if
(
retries
--
)
{
{
ndb
->
closeTransaction
(
trans
);
if
(
trans
)
ndb
->
closeTransaction
(
trans
);
continue
;
// retry
continue
;
// retry
}
}
}
}
ndb_error
=
&
trans
->
getNdbError
()
;
ndb_error
=
this_error
;
break
;
break
;
}
}
end:
end:
...
...
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