~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

Moved StorageEngine into plugin namespace.

Show diffs side-by-side

added added

removed removed

Lines of Context:
814
814
    close_temporary_table(table, true, true);
815
815
  else
816
816
  {
817
 
    StorageEngine *table_type= table->s->db_type();
 
817
    plugin::StorageEngine *table_type= table->s->db_type();
818
818
    pthread_mutex_lock(&LOCK_open); /* Close and drop a table (AUX routine) */
819
819
    /*
820
820
      unlink_open_table() also tells threads waiting for refresh or close
1323
1323
                                   table_list->db, table_list->table_name,
1324
1324
                                   false);
1325
1325
 
1326
 
      if (StorageEngine::getTableProto(path, NULL) != EEXIST)
 
1326
      if (plugin::StorageEngine::getTableProto(path, NULL) != EEXIST)
1327
1327
      {
1328
1328
        /*
1329
1329
          Table to be created, so we need to create placeholder in table-cache.