~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message.cc

  • Committer: Stewart Smith
  • Date: 2010-11-03 03:27:09 UTC
  • mto: (1902.1.1 build) (1910.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1903.
  • Revision ID: stewart@flamingspork.com-20101103032709-oyvfrc6eb8fzj0mr
fix docs warning: docs/unlock.rst:2: (WARNING/2) Title underline too short.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
static const std::string DATE("DATE");
49
49
static const std::string TIMESTAMP("TIMESTAMP");
50
50
static const std::string DATETIME("DATETIME");
51
 
static const std::string UUID("UUID");
52
51
 
53
52
static const std::string UNDEFINED("UNDEFINED");
54
53
static const std::string RESTRICT("RESTRICT");
143
142
    return TIMESTAMP;
144
143
  case message::Table::Field::DATETIME:
145
144
    return DATETIME;
146
 
  case message::Table::Field::UUID:
147
 
    return UUID;
148
145
  }
149
146
 
150
147
  assert(0);
213
210
  return MATCH_SIMPLE;
214
211
}
215
212
 
216
 
#if 0
217
 
std::ostream& operator<<(std::ostream& output, const message::Transaction &message)
218
 
219
 
    std::string buffer;
220
 
 
221
 
    google::protobuf::TextFormat::PrintToString(message, &buffer);
222
 
    output << buffer;
223
 
 
224
 
    return output;
225
 
}
226
 
 
227
 
std::ostream& operator<<(std::ostream& output, const message::Table &message)
228
 
229
 
  std::string buffer;
230
 
 
231
 
  google::protobuf::TextFormat::PrintToString(message, &buffer);
232
 
  output << buffer;
233
 
 
234
 
  return output;
235
 
}
236
 
#endif
237
 
 
238
 
 
239
213
} /* namespace message */
240
214
} /* namespace drizzled */