summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2006-03-29 23:01:35 +0300
committerunknown <monty@mysql.com>2006-03-29 23:01:35 +0300
commita02ff019aec79935283241a243ea67e9af1f2e9f (patch)
tree7b9e75a5fcf248bc2443089d2d55019896966549 /storage
parent9f6cf5b6cc04688fb28120df63345e6d39896f72 (diff)
parent3f925ec300bdf2db3700ef02a5a34fb7abb2c050 (diff)
downloadmariadb-git-a02ff019aec79935283241a243ea67e9af1f2e9f.tar.gz
Merge monty@192.168.0.9:/my/mysql-5.1
into mysql.com:/home/my/mysql-5.1 mysql-test/t/disabled.def: Auto merged
Diffstat (limited to 'storage')
-rw-r--r--storage/ndb/src/ndbapi/NdbBlob.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/ndb/src/ndbapi/NdbBlob.cpp b/storage/ndb/src/ndbapi/NdbBlob.cpp
index 51e038882cd..2adb928ba42 100644
--- a/storage/ndb/src/ndbapi/NdbBlob.cpp
+++ b/storage/ndb/src/ndbapi/NdbBlob.cpp
@@ -195,8 +195,9 @@ NdbBlob::getBlobEvent(NdbEventImpl& be, const NdbEventImpl* e, const NdbColumnIm
assert(c->m_blobTable != NULL);
const NdbTableImpl& bt = *c->m_blobTable;
// blob event name
- char bename[MAX_TAB_NAME_SIZE];
+ char bename[MAX_TAB_NAME_SIZE+1];
getBlobEventName(bename, e, c);
+ bename[sizeof(bename)-1]= 0;
be.setName(bename);
be.setTable(bt);
// simple assigments