~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Brian Aker
  • Date: 2009-04-06 16:55:13 UTC
  • mfrom: (970.1.5 merge)
  • Revision ID: brian@tangent.org-20090406165513-0r9u2bo1438u970k
Merge refactoring around plugin_ref

Show diffs side-by-side

added added

removed removed

Lines of Context:
4821
4821
  (void) table->file->close();                  // This deletes the table !
4822
4822
  delete table->file;
4823
4823
  table->file=0;
4824
 
  share.db_plugin= plugin_lock(0, &share.db_plugin);
 
4824
  share.db_plugin= plugin_lock(&share.db_plugin);
4825
4825
  new_table.s= table->s;                       // Keep old share
4826
4826
  *table= new_table;
4827
4827
  *table->s= share;