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
2fed34d7
Commit
2fed34d7
authored
Jan 17, 2007
by
tulin/mysqldev@mysql.com/production.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ha_ndbcluster.cc:
Bug #25668 - corrected patch after test failures
parent
1d6fe0ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
9 deletions
+16
-9
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+16
-9
No files found.
sql/ha_ndbcluster.cc
View file @
2fed34d7
...
...
@@ -6109,7 +6109,23 @@ ndb_get_table_statistics(ha_ndbcluster* file, bool report_error, Ndb* ndb,
DBUG_RETURN
(
0
);
retry:
if
(
report_error
)
{
if
(
file
&&
pTrans
)
{
reterr
=
file
->
ndb_err
(
pTrans
);
}
else
{
const
NdbError
&
tmp
=
error
;
ERR_PRINT
(
tmp
);
reterr
=
ndb_to_mysql_error
(
&
tmp
);
}
}
else
reterr
=
error
.
code
;
if
(
pTrans
)
{
ndb
->
closeTransaction
(
pTrans
);
pTrans
=
NULL
;
...
...
@@ -6119,15 +6135,6 @@ ndb_get_table_statistics(ha_ndbcluster* file, bool report_error, Ndb* ndb,
my_sleep
(
retry_sleep
);
continue
;
}
if
(
report_error
)
{
const
NdbError
&
tmp
=
error
;
ERR_PRINT
(
tmp
);
reterr
=
ndb_to_mysql_error
(
&
tmp
);
}
else
reterr
=
error
.
code
;
break
;
}
while
(
1
);
DBUG_PRINT
(
"exit"
,
(
"failed, reterr: %u, NdbError %u(%s)"
,
reterr
,
...
...
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