~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/definition/table.cc

  • Committer: Lee Bieber
  • Date: 2010-11-20 22:04:04 UTC
  • mfrom: (1942.1.4 b)
  • Revision ID: kalebral@gmail.com-20101120220404-2qpb4xuik9wv9u1q
Merge Lee -  Run bzr ignore for leftover files
Merge Shrews - Add a --replicate-query option to the server which controls whether or not the SQL query string is included in the GPB Statement messages.
Merge Andrew - fix bug 665119: drizzleslap has -i mapped to two options
Merge Andrew fix bug 674145: Table Names Not Case Matched

Show diffs side-by-side

added added

removed removed

Lines of Context:
530
530
  path.str= (char *)"";
531
531
  normalized_path.str= path.str;
532
532
  path.length= normalized_path.length= 0;
533
 
  assert(strcmp(identifier.getTableName().c_str(), table_name.str) == 0);
 
533
 
 
534
  std::string tb_name(identifier.getTableName());
 
535
  std::transform(tb_name.begin(), tb_name.end(), tb_name.begin(), ::tolower);
 
536
  assert(strcmp(tb_name.c_str(), table_name.str) == 0);
 
537
 
534
538
  assert(strcmp(identifier.getSchemaName().c_str(), db.str) == 0);
535
539
}
536
540