~drizzle-trunk/drizzle/development

Viewing all changes in revision 1143.2.35.

  • Committer: Jay Pipes
  • Date: 2009-11-06 15:22:29 UTC
  • mto: (1234.1.1 push) (1237.2.10 push)
  • mto: This revision was merged to the branch mainline in revision 1215.
  • Revision ID: jpipes@serialcoder-20091106152229-7wa6lzrip1n5xbxs
Adds support for BLOB fields in the replication stream. Note that
this does not yet support extremely large BLOB data.  Extremely large
BLOB data will be written to the transaction log in specialized transaction
log entries for that.  In this patch, we simply allow the main Transaction
message and the reader/writer programs to work with binary data properly.

Adds a simple test for BLOB fields and the transaction log.
The problem was figuring out how to correctly replace embedded NUL
characters in the output of the transaction reader with \\0 so that
mysqltest.cc wouldn't puke when cat'ing the result of the reading
of the transaction log when BLOB data was contained.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: