Merge loke.(none):/home/knielsen/devel/mysql-5.0-ndb
into loke.(none):/home/knielsen/devel/mysql-5.1-new-ndb
This commit is contained in:
commit
bb6346fd02
@ -2795,7 +2795,7 @@ int ha_ndbcluster::write_row(uchar *record)
|
||||
if (ndb->getAutoIncrementValue(m_table, g.range, auto_value, 1) == -1)
|
||||
{
|
||||
if (--retries &&
|
||||
ndb->getNdbError().status == NdbError::TemporaryError);
|
||||
ndb->getNdbError().status == NdbError::TemporaryError)
|
||||
{
|
||||
my_sleep(retry_sleep);
|
||||
continue;
|
||||
@ -6189,7 +6189,7 @@ void ha_ndbcluster::get_auto_increment(ulonglong offset, ulonglong increment,
|
||||
ndb->getAutoIncrementValue(m_table, g.range, auto_value, cache_size, increment, offset))
|
||||
{
|
||||
if (--retries &&
|
||||
ndb->getNdbError().status == NdbError::TemporaryError);
|
||||
ndb->getNdbError().status == NdbError::TemporaryError)
|
||||
{
|
||||
my_sleep(retry_sleep);
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user