~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/catalog.cc

  • Committer: pcrews
  • Date: 2011-10-11 22:37:42 UTC
  • Revision ID: pcrews@lucid32-20111011223742-f7f63p76pa4ew5wn
Updated translations + tarball release 2011.10.27

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
namespace drizzled {
42
42
namespace identifier {
43
43
 
44
 
Catalog::Catalog(const std::string &name_arg) :
45
 
  _name(name_arg)
 
44
Catalog::Catalog(str_ref name_arg) :
 
45
  _name(name_arg.data(), name_arg.size())
46
46
47
47
  init();
48
48
}
49
49
 
50
 
Catalog::Catalog(const drizzled::lex_string_t &name_arg) :
51
 
  _name(name_arg.str, name_arg.length)
52
 
{
53
 
  init();
54
 
}
55
 
 
56
50
void Catalog::init()
57
51
58
52
  assert(not _name.empty());