~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/info_schema/info_schema_methods.cc

Merged in slot -> service changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
232
232
  return 0;
233
233
}
234
234
 
235
 
int CharSetISMethods::oldFormat(Session *session, drizzled::plugin::InfoSchema *schema_table)
 
235
int CharSetISMethods::oldFormat(Session *session, drizzled::plugin::InfoSchemaTable *schema_table)
236
236
  const
237
237
{
238
238
  int fields_arr[]= {0, 2, 1, 3, -1};
239
239
  int *field_num= fields_arr;
240
 
  const drizzled::plugin::InfoSchema::Columns columns= schema_table->getColumns();
 
240
  const drizzled::plugin::InfoSchemaTable::Columns columns= schema_table->getColumns();
241
241
  const drizzled::plugin::ColumnInfo *column;
242
242
  Name_resolution_context *context= &session->lex->select_lex.context;
243
243
 
327
327
  return 0;
328
328
}
329
329
 
330
 
int ColumnsISMethods::oldFormat(Session *session, drizzled::plugin::InfoSchema *schema_table)
 
330
int ColumnsISMethods::oldFormat(Session *session, drizzled::plugin::InfoSchemaTable *schema_table)
331
331
  const
332
332
{
333
333
  int fields_arr[]= {3, 14, 13, 6, 15, 5, 16, 17, 18, -1};
334
334
  int *field_num= fields_arr;
335
 
  const drizzled::plugin::InfoSchema::Columns columns= schema_table->getColumns();
 
335
  const drizzled::plugin::InfoSchemaTable::Columns columns= schema_table->getColumns();
336
336
  const drizzled::plugin::ColumnInfo *column;
337
337
  Name_resolution_context *context= &session->lex->select_lex.context;
338
338
 
810
810
  return(0);
811
811
}
812
812
 
813
 
int SchemataISMethods::oldFormat(Session *session, drizzled::plugin::InfoSchema *schema_table)
 
813
int SchemataISMethods::oldFormat(Session *session, drizzled::plugin::InfoSchemaTable *schema_table)
814
814
  const
815
815
{
816
816
  char tmp[128];
817
817
  LEX *lex= session->lex;
818
818
  Select_Lex *sel= lex->current_select;
819
819
  Name_resolution_context *context= &sel->context;
820
 
  const drizzled::plugin::InfoSchema::Columns columns= schema_table->getColumns();
 
820
  const drizzled::plugin::InfoSchemaTable::Columns columns= schema_table->getColumns();
821
821
 
822
822
  if (!sel->item_list.elements)
823
823
  {
1249
1249
}
1250
1250
 
1251
1251
 
1252
 
int TabNamesISMethods::oldFormat(Session *session, drizzled::plugin::InfoSchema *schema_table)
 
1252
int TabNamesISMethods::oldFormat(Session *session, drizzled::plugin::InfoSchemaTable *schema_table)
1253
1253
  const
1254
1254
{
1255
1255
  char tmp[128];
1256
1256
  String buffer(tmp,sizeof(tmp), session->charset());
1257
1257
  LEX *lex= session->lex;
1258
1258
  Name_resolution_context *context= &lex->select_lex.context;
1259
 
  const drizzled::plugin::InfoSchema::Columns columns= schema_table->getColumns();
 
1259
  const drizzled::plugin::InfoSchemaTable::Columns columns= schema_table->getColumns();
1260
1260
 
1261
1261
  const drizzled::plugin::ColumnInfo *column= columns[2];
1262
1262
  buffer.length(0);