ndb - bug#19285 minor fixes

parent a66d94b7
...@@ -753,7 +753,7 @@ NdbBlob::writeData(const void* data, Uint32 bytes) ...@@ -753,7 +753,7 @@ NdbBlob::writeData(const void* data, Uint32 bytes)
} }
const char* buf = static_cast<const char*>(data); const char* buf = static_cast<const char*>(data);
int ret = writeDataPrivate(buf, bytes); int ret = writeDataPrivate(buf, bytes);
DBUG_RETURN(0); DBUG_RETURN(ret);
} }
int int
......
...@@ -521,7 +521,7 @@ ErrorBundle ErrorCodes[] = { ...@@ -521,7 +521,7 @@ ErrorBundle ErrorCodes[] = {
{ 4270, IE, "Unknown blob error" }, { 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" }, { 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()" }, { 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 static
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment