~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_share.cc

  • Committer: Brian Aker
  • Date: 2010-10-19 22:17:17 UTC
  • mto: (1864.2.1 merge)
  • mto: This revision was merged to the branch mainline in revision 1864.
  • Revision ID: brian@tangent.org-20101019221717-clg9disnr5tm2ddg
We add a "shell" table type, used only during field creation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
#include "drizzled/internal/my_pthread.h"
45
45
#include "drizzled/plugin/event_observer.h"
46
46
 
 
47
#include "drizzled/table.h"
 
48
#include "drizzled/table/shell.h"
 
49
 
47
50
#include "drizzled/session.h"
48
51
 
49
52
#include "drizzled/charset.h"
1444
1447
 
1445
1448
    // This needs to go, we should be setting the "use" on the field so that
1446
1449
    // it does not reference the share/table.
1447
 
    Table temp_table; /* Use this so that BLOB DEFAULT '' works */
 
1450
    table::Shell temp_table; /* Use this so that BLOB DEFAULT '' works */
1448
1451
    temp_table.setShare(this);
1449
1452
    temp_table.in_use= &session;
1450
1453