~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_proto_write.cc

  • Committer: Brian Aker
  • Date: 2010-03-19 04:54:45 UTC
  • mto: This revision was merged to the branch mainline in revision 1363.
  • Revision ID: brian@gaz-20100319045445-vuccez4q5ruholnr
Update for std::string

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
namespace drizzled {
41
41
 
42
42
static int fill_table_proto(message::Table &table_proto,
43
 
                            const char *table_name,
 
43
                            const std::string &table_name,
44
44
                            List<CreateField> &create_fields,
45
45
                            HA_CREATE_INFO *create_info,
46
46
                            uint32_t keys,
59
59
  assert(strcmp(table_proto.engine().name().c_str(),
60
60
                create_info->db_type->getName().c_str())==0);
61
61
 
62
 
  assert(strcmp(table_proto.name().c_str(),table_name)==0);
 
62
  assert(table_proto.name() == table_name);
63
63
 
64
64
  int field_number= 0;
65
65
  bool use_existing_fields= table_proto.field_size() > 0;