~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/table_writer.cc

  • Committer: Jay Pipes
  • Date: 2009-04-10 05:31:39 UTC
  • mto: (971.1.47 mordred)
  • mto: This revision was merged to the branch mainline in revision 990.
  • Revision ID: jpipes@serialcoder-20090410053139-beat1rbcopkcgc4n
Changes libserialize to libdrizzledmessage per ML discussion.  All GPB messages are now in the drizzled::message namespace.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#include <iostream>
2
2
#include <fstream>
3
3
#include <string>
4
 
#include <drizzled/serialize/table.pb.h>
 
4
#include <drizzled/message/table.pb.h>
5
5
 
6
6
using namespace std;
7
 
using namespace drizzle;
 
7
using namespace drizzled::message;
8
8
 
9
9
/*
10
10
  Written from Google proto example
11
11
*/
12
12
 
13
 
void fill_engine(::drizzle::Table::StorageEngine *engine)
 
13
void fill_engine(::drizzled::message::Table::StorageEngine *engine)
14
14
{
15
15
  int16_t x;
16
16
 
37
37
  }
38
38
}
39
39
 
40
 
void new_index_to_table(::drizzle::Table *table,
 
40
void new_index_to_table(::drizzled::message::Table *table,
41
41
                        const string name,
42
42
                        uint16_t num_index_parts,
43
43
                        uint32_t field_indexes[],
70
70
  }
71
71
}
72
72
 
73
 
void fill_table(::drizzle::Table *table, const char *name)
 
73
void fill_table(::drizzled::message::Table *table, const char *name)
74
74
{
75
75
  uint16_t x;
76
76