~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/serialize/binary_log.cc

  • Committer: Brian Aker
  • Date: 2009-03-27 22:55:28 UTC
  • mto: This revision was merged to the branch mainline in revision 968.
  • Revision ID: brian@tangent.org-20090327225528-8y76cfx8a4oemqv9
Remove ref_count

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include "binary_log.h"
 
1
#include <drizzled/global.h>
 
2
#include <drizzled/serialize/binary_log.h>
2
3
 
3
4
#include <google/protobuf/io/coded_stream.h>
4
5
 
69
70
  case CHAIN:
70
71
    message= new BinaryLog::Chain;
71
72
    break;
 
73
 
 
74
  case COUNT:
 
75
  case UNDEF:
 
76
    break;
72
77
  }
73
78
 
74
79
  if (!message)
112
117
         ii != event->variable().end() ;
113
118
         ++ii)
114
119
    {
115
 
      out << "set @" << ii->name() << " = '" << ii->value() << "'\n";
 
120
      out << "set @" << ii->name() << " = '" << ii->val() << "'\n";
116
121
    }
117
122
    out << event->query() << std::endl;
118
123
    break;