~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_proto.h

  • Committer: Brian Aker
  • Date: 2010-03-03 17:11:30 UTC
  • mto: This revision was merged to the branch mainline in revision 1321.
  • Revision ID: brian@gaz-20100303171130-ae0sx6gvjpjl4vny
Light cleanup for references.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#define INDEX_COMMENT_MAXLEN 1024
33
33
 
34
34
int drizzle_write_proto_file(const std::string file_name,
35
 
                             message::Table *table_proto);
 
35
                             message::Table &table_proto);
36
36
 
37
37
int parse_table_proto(Session& session,
38
38
                      message::Table &table,
39
39
                      TableShare *share);
40
40
 
 
41
#if 0
41
42
int fill_table_proto(message::Table *table_proto,
42
43
                     const char *table_name,
43
44
                     List<CreateField> &create_fields,
44
45
                     HA_CREATE_INFO *create_info,
45
46
                     uint32_t keys,
46
47
                     KEY *key_info);
 
48
#endif
47
49
 
48
50
int rename_table_proto_file(const char *from, const char* to);
49
51
int delete_table_proto_file(const char *file_name);
50
52
 
51
53
int rea_create_table(Session *session,
52
54
                     TableIdentifier &identifier,
53
 
                     message::Table *table_proto,
 
55
                     message::Table &table_proto,
54
56
                     HA_CREATE_INFO *create_info,
55
57
                     List<CreateField> &create_field,
56
58
                     uint32_t key_count,KEY *key_info);