~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/info_schema_table.cc

  • Committer: Monty Taylor
  • Date: 2010-02-05 08:11:15 UTC
  • mfrom: (1283 build)
  • mto: (1273.13.43 fix_is)
  • mto: This revision was merged to the branch mainline in revision 1300.
  • Revision ID: mordred@inaugust.com-20100205081115-dr82nvrwv4lvw7sd
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
using namespace std;
31
31
 
 
32
namespace drizzled
 
33
{
 
34
 
32
35
const std::string INFORMATION_SCHEMA_NAME("information_schema");
33
36
 
34
 
namespace drizzled
35
 
{
36
 
 
37
37
vector<plugin::InfoSchemaTable *> all_schema_tables;
38
38
 
39
39
 
49
49
    checksum(0)
50
50
{
51
51
  memcpy(record, buf, rec_len);
52
 
  checksum= drizzled::algorithm::crc32((const char *) record, rec_len);
 
52
  checksum= algorithm::crc32((const char *) record, rec_len);
53
53
}
54
54
 
55
55
plugin::InfoSchemaRecord::InfoSchemaRecord(const plugin::InfoSchemaRecord &rhs)
57
57
    rec_len(rhs.rec_len)
58
58
{
59
59
  memcpy(record, rhs.record, rec_len);
60
 
  checksum= drizzled::algorithm::crc32((const char *) record, rec_len);
 
60
  checksum= algorithm::crc32((const char *) record, rec_len);
61
61
}
62
62
 
63
63
bool plugin::InfoSchemaTable::addPlugin(plugin::InfoSchemaTable *schema_table)