~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/catalog.cc

  • Committer: Mark Atwood
  • Date: 2011-08-04 16:21:21 UTC
  • mfrom: (2318.9.14 refactor3)
  • Revision ID: me@mark.atwood.name-20110804162121-6b9ay1b1de3yfgvl
mergeĀ lp:~olafvdspek/drizzle/refactor3

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
void Catalog::init()
57
57
58
58
  assert(not _name.empty());
59
 
  path.append("../");
60
 
  if (util::tablename_to_filename(_name, path))
61
 
    errmsg_printf(error::ERROR, _("Catalog name cannot be encoded and fit within filesystem name length restrictions."));
 
59
  path += "../";
 
60
  path += util::tablename_to_filename(_name);
62
61
  assert(path.length()); // TODO throw exception, this is a possibility
63
62
  hash_value= util::insensitive_hash()(path);
64
63
}