~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.cc

Namespace cleanup for Protocol and Listen.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
#include <algorithm>
52
52
 
53
53
using namespace std;
 
54
using namespace drizzled;
54
55
 
55
56
extern "C"
56
57
int show_var_cmp(const void *var1, const void *var2);
229
230
 
230
231
bool drizzled_show_create(Session *session, TableList *table_list)
231
232
{
232
 
  Protocol *protocol= session->protocol;
 
233
  plugin::Protocol *protocol= session->protocol;
233
234
  char buff[2048];
234
235
  String buffer(buff, sizeof(buff), system_charset_info);
235
236
 
342
343
{
343
344
  char buff[2048];
344
345
  String buffer(buff, sizeof(buff), system_charset_info);
345
 
  Protocol *protocol=session->protocol;
 
346
  plugin::Protocol *protocol=session->protocol;
346
347
 
347
348
  if (store_db_create_info(dbname, &buffer, if_not_exists))
348
349
  {
847
848
  Item *field;
848
849
  List<Item> field_list;
849
850
  I_List<thread_info> thread_infos;
850
 
  Protocol *protocol= session->protocol;
 
851
  plugin::Protocol *protocol= session->protocol;
851
852
 
852
853
  field_list.push_back(new Item_int("Id", 0, MY_INT32_NUM_DECIMAL_DIGITS));
853
854
  field_list.push_back(new Item_empty_string("User",16));