From 76d2eceaf5b74ad71e848356281b908f3366e0eb Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 17 Jun 2006 13:00:17 +0200 Subject: [PATCH] ndb - bug#19285 minor fixes ndb/src/ndbapi/NdbBlob.cpp: bug#19285 minor fixes ndb/src/ndbapi/ndberror.c: bug#19285 minor fixes --- ndb/src/ndbapi/NdbBlob.cpp | 2 +- ndb/src/ndbapi/ndberror.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ndb/src/ndbapi/NdbBlob.cpp b/ndb/src/ndbapi/NdbBlob.cpp index 3440c6416cb..fdee8961337 100644 --- a/ndb/src/ndbapi/NdbBlob.cpp +++ b/ndb/src/ndbapi/NdbBlob.cpp @@ -753,7 +753,7 @@ NdbBlob::writeData(const void* data, Uint32 bytes) } const char* buf = static_cast(data); int ret = writeDataPrivate(buf, bytes); - DBUG_RETURN(0); + DBUG_RETURN(ret); } int diff --git a/ndb/src/ndbapi/ndberror.c b/ndb/src/ndbapi/ndberror.c index 6c9931ba21c..62d920755bd 100644 --- a/ndb/src/ndbapi/ndberror.c +++ b/ndb/src/ndbapi/ndberror.c @@ -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