diff options
author | monty@mysql.com <> | 2006-03-29 23:01:35 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2006-03-29 23:01:35 +0300 |
commit | 0e27cbeadc15685e9b5b5da0c355f1942684f909 (patch) | |
tree | 7b9e75a5fcf248bc2443089d2d55019896966549 /storage | |
parent | c3e7c7aa4bd5ab96240b827a25f47598abe3fa9f (diff) | |
parent | 8b21a9d46aa0d28bf2929327c80c157285177552 (diff) | |
download | mariadb-git-0e27cbeadc15685e9b5b5da0c355f1942684f909.tar.gz |
Merge monty@192.168.0.9:/my/mysql-5.1
into mysql.com:/home/my/mysql-5.1
Diffstat (limited to 'storage')
-rw-r--r-- | storage/ndb/src/ndbapi/NdbBlob.cpp | 3 |
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 |