~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Brian Aker
  • Date: 2010-03-15 22:57:37 UTC
  • mto: This revision was merged to the branch mainline in revision 1344.
  • Revision ID: brian@gaz-20100315225737-72okaenigqt4b3oe
Lets hide stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
  return (unsigned char*) (*buff)->field_name;
81
81
}
82
82
 
83
 
static TABLE_CATEGORY get_table_category(const LEX_STRING *db)
84
 
{
85
 
  assert(db != NULL);
86
 
 
87
 
  return TABLE_CATEGORY_USER;
88
 
}
89
 
 
90
 
 
91
83
/*
92
84
  Allocate a setup TableShare structure
93
85
 
1258
1250
  message::Table table;
1259
1251
 
1260
1252
  error= plugin::StorageEngine::getTableDefinition(session, share->normalized_path.str,
1261
 
                                                   share->db.str,
 
1253
                                                   share->getSchemaName(),
1262
1254
                                                   share->table_name.str,
1263
1255
                                                   false,
1264
1256
                                                   &table);
1282
1274
 
1283
1275
  error= parse_table_proto(session, table, share);
1284
1276
 
1285
 
  share->table_category= get_table_category(& share->db);
 
1277
  share->table_category= TABLE_CATEGORY_USER;
1286
1278
 
1287
1279
  if (not error)
1288
1280
    session.status_var.opened_shares++;