~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/display.cc

  • Committer: Mark Atwood
  • Date: 2011-08-11 03:05:03 UTC
  • mfrom: (2385.1.12 refactor4)
  • Revision ID: me@mark.atwood.name-20110811030503-rp9xjihc5x3y0x4q
merge lp:~olafvdspek/drizzle/refactor4

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include "config.h"
 
21
#include <config.h>
22
22
 
23
23
#include <drizzled/display.h>
24
24
#include <drizzled/item.h>
34
34
 
35
35
static const std::string COM_SLEEP("COM_SLEEP"); 
36
36
static const std::string COM_QUIT("COM_QUIT"); 
37
 
static const std::string COM_INIT_DB("COM_INIT_DB"); 
 
37
static const std::string COM_USE_SCHEMA("COM_USE_SCHEMA"); 
38
38
static const std::string COM_QUERY("COM_QUERY"); 
39
39
static const std::string COM_SHUTDOWN("COM_SHUTDOWN"); 
40
40
static const std::string COM_CONNECT("COM_CONNECT"); 
134
134
  {
135
135
  case drizzled::COM_SLEEP : 
136
136
    return COM_SLEEP;
 
137
 
 
138
  case drizzled::COM_KILL : 
 
139
    {
 
140
      static std::string COM_KILL("COM_KILL");
 
141
      return COM_KILL;
 
142
    }
 
143
 
137
144
  case drizzled::COM_QUIT : 
138
145
    return COM_QUIT;
139
 
  case drizzled::COM_INIT_DB : 
140
 
    return COM_INIT_DB;
 
146
 
 
147
  case drizzled::COM_USE_SCHEMA : 
 
148
    return COM_USE_SCHEMA;
 
149
 
141
150
  case drizzled::COM_QUERY : 
142
151
    return COM_QUERY;
 
152
 
143
153
  case drizzled::COM_SHUTDOWN : 
144
154
    return COM_SHUTDOWN;
 
155
 
145
156
  case drizzled::COM_CONNECT : 
146
157
    return COM_CONNECT;
 
158
 
147
159
  case drizzled::COM_PING : 
148
160
    return COM_PING;
 
161
 
149
162
  case drizzled::COM_END : 
150
163
    return COM_END;
151
164
  }