summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <pekka@mysql.com>2006-02-03 15:23:58 +0100
committerunknown <pekka@mysql.com>2006-02-03 15:23:58 +0100
commitd407a60901f6339f2217f9c08da725feceb8f3e8 (patch)
tree8bed0c47b6a784036021080456d5c661c44ce1d9 /ndb
parentac5e4ebee11cc177e24723f92d86d6b4acacda34 (diff)
downloadmariadb-git-d407a60901f6339f2217f9c08da725feceb8f3e8.tar.gz
ndb - replace+tinyblob back-patch from 5.0 [ discard on 4.1->5.0 merge ]
mysql-test/r/ndb_blob.result: replace+tinyblob back-patch from 5.0 mysql-test/t/ndb_blob.test: replace+tinyblob back-patch from 5.0 ndb/src/ndbapi/NdbBlob.cpp: replace+tinyblob back-patch from 5.0
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/ndbapi/NdbBlob.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ndb/src/ndbapi/NdbBlob.cpp b/ndb/src/ndbapi/NdbBlob.cpp
index c5692d79e83..416e983ec14 100644
--- a/ndb/src/ndbapi/NdbBlob.cpp
+++ b/ndb/src/ndbapi/NdbBlob.cpp
@@ -959,6 +959,8 @@ int
NdbBlob::deletePartsUnknown(Uint32 part)
{
DBG("deletePartsUnknown [in] part=" << part << " count=all");
+ if (thePartSize == 0) // tinyblob
+ return 0;
static const unsigned maxbat = 256;
static const unsigned minbat = 1;
unsigned bat = minbat;