ndb - bug#19285 minor fixes

ndb/src/ndbapi/NdbBlob.cpp:
  bug#19285 minor fixes
ndb/src/ndbapi/ndberror.c:
  bug#19285 minor fixes
This commit is contained in:
unknown 2006-06-17 13:00:17 +02:00
parent e9bfc41514
commit 76d2eceaf5
2 changed files with 2 additions and 2 deletions

View File

@ -753,7 +753,7 @@ NdbBlob::writeData(const void* data, Uint32 bytes)
}
const char* buf = static_cast<const char*>(data);
int ret = writeDataPrivate(buf, bytes);
DBUG_RETURN(0);
DBUG_RETURN(ret);
}
int

View File

@ -521,7 +521,7 @@ ErrorBundle ErrorCodes[] = {
{ 4270, IE, "Unknown blob error" },
{ 4335, AE, "Only one autoincrement column allowed per table. Having a table without primary key uses an autoincremented hidden key, i.e. a table without a primary key can not have an autoincremented column" },
{ 4271, AE, "Invalid index object, not retrieved via getIndex()" },
{ 4275, IE, "The blob method is incompatible with operation type or lock mode" }
{ 4275, AE, "The blob method is incompatible with operation type or lock mode" }
};
static