~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message.cc

  • Committer: Andrew Hutchings
  • Date: 2010-11-14 14:46:36 UTC
  • mto: (1931.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1932.
  • Revision ID: andrew@linuxjedi.co.uk-20101114144636-bkttapbfpp20ccd2
Fix broken Global Status test
Fix some stats not reset
Cleanup code a little

Note: local session stats are not reset, they will be added to the global stats after flush if any query is executed on those sessions.

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);