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
4828be9e
Commit
4828be9e
authored
Jan 17, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/data0/mysqldev/users/tomas/mysql-5.0-release
into mysql.com:/data0/mysqldev/users/tomas/mysql-5.0-build
parents
05527cfc
15eebdc0
Changes
1
Show 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 @
4828be9e
...
...
@@ -6109,25 +6109,32 @@ ndb_get_table_statistics(ha_ndbcluster* file, bool report_error, Ndb* ndb,
DBUG_RETURN
(
0
);
retry:
if
(
report_error
)
{
ndb
->
closeTransaction
(
pTrans
);
pTrans
=
NULL
;
}
if
(
error
.
status
==
NdbError
::
TemporaryError
&&
retries
--
)
if
(
file
&&
pTrans
)
{
my_sleep
(
retry_sleep
);
continue
;
reterr
=
file
->
ndb_err
(
pTrans
);
}
if
(
report_error
)
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
;
}
if
(
error
.
status
==
NdbError
::
TemporaryError
&&
retries
--
)
{
my_sleep
(
retry_sleep
);
continue
;
}
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