MySQL Forums
Forum List  »  NDB clusters

Re: Sorry it is: Help!!! errorno: 4336
Posted by: Stewart Smith
Date: July 17, 2005 07:51PM

an undocumented error code :)

perror --ndb 4336 doesn't say anything useful.

However, grepping the source does.

In ndb/src/ndbapi/NdbDictionaryImpl.cpp

int
NdbDictInterface::createOrAlterTable(Ndb & ndb,
NdbTableImpl & impl,
bool alter)

and here is the section of code (at the end of the method)

if (haveAutoIncrement) {
if (!ndb.setAutoIncrementValue(impl.m_externalName.c_str(),
autoIncrementValue)) {
if (ndb.theError.code == 0) {
m_error.code= 4336;
ndb.theError = m_error;
} else
m_error= ndb.theError;
ret = -1; // errorcode set in initialize_autoincrement
}
}
}
DBUG_RETURN(ret);
}


So there's probably a bug there (the least being the undocumented error code). I'll leave it for someone with more knowledge in that code (which is probably Martin or Tomas)

Options: ReplyQuote


Subject
Views
Written By
Posted
3093
July 17, 2005 03:12PM
Re: Sorry it is: Help!!! errorno: 4336
1943
July 17, 2005 07:51PM
1945
July 17, 2005 10:26PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.