~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/generator/table.cc

  • Committer: Brian Aker
  • Date: 2010-07-02 00:48:31 UTC
  • mto: This revision was merged to the branch mainline in revision 1647.
  • Revision ID: brian@gaz-20100702004831-luifkqhv2237ecob
Moved generators out of trunk of server.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
#include "config.h"
22
22
 
23
 
#include "drizzled/table_generator.h"
 
23
#include "drizzled/generator/table.h"
24
24
 
25
25
using namespace std;
26
26
 
27
27
namespace drizzled
28
28
{
 
29
namespace generator
 
30
{
29
31
 
30
 
TableGenerator::TableGenerator(Session &arg) :
 
32
Table::Table(Session &arg) :
31
33
  session(arg)
32
34
{
33
35
  table_iterator= table_names.end();
34
36
}
35
37
 
36
 
void TableGenerator::reset(const SchemaIdentifier &schema_identifier)
 
38
void Table::reset(const SchemaIdentifier &schema_identifier)
37
39
{
38
40
  table_names.clear();
39
41
  plugin::StorageEngine::getTableIdentifiers(session, schema_identifier, table_names);
40
42
  table_iterator= table_names.begin();
41
43
}
42
44
 
 
45
} /* namespace generator */
43
46
} /* namespace drizzled */