mariadb/ndb
unknown f5c27523fc BUG#27018: Partial blob write inside blob clobbers data after the write.
When doing partial blob update with NdbBlob::writeData(), zero-padding
after the write was wrongly done, causing part of the old blob value
to be overwritten with zeros (or spaces for text field).

Fixed by only padding when needed (when writing at end of the blob).


ndb/src/ndbapi/NdbBlob.cpp:
  Do not pad rest of blob part after the write, unless it is a write at the
  end of the blob.
ndb/test/ndbapi/testBlobs.cpp:
  Add test case.
2007-03-09 23:37:33 +01:00
..
bin .del-mysqlclusterd~7ebaf8faea0a1100: 2004-06-16 16:59:33 +00:00
config my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
demos Removed unnecessary README files 2004-04-14 15:42:56 +02:00
docs my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
home removed a bunch of "dead" files from the ndb src tree 2004-11-05 23:59:06 +00:00
include Merge poseidon.mysql.com:/home/tomas/mysql-5.0 2007-03-02 09:38:03 +07:00
lib Initial revision of NDB Cluster files 2004-04-14 10:53:21 +02:00
ndbapi-examples Many files: 2006-12-23 20:17:15 +01:00
src BUG#27018: Partial blob write inside blob clobbers data after the write. 2007-03-09 23:37:33 +01:00
test BUG#27018: Partial blob write inside blob clobbers data after the write. 2007-03-09 23:37:33 +01:00
tools Merge poseidon.mysql.com:/home/tomas/mysql-5.0-telco-gca 2007-03-09 15:38:44 +07:00
Makefile.am my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00