~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Brian Aker
  • Date: 2011-01-07 20:07:55 UTC
  • mto: (2067.3.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2073.
  • Revision ID: brian@tangent.org-20110107200755-igzg029ujqep5rei
A few small fixes, plus move the schema lock to the actual catalog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1871
1871
    return usage;
1872
1872
  }
1873
1873
 
1874
 
  catalog::Instance::const_pointer catalog() const
1875
 
  {
1876
 
    return _catalog.get();
 
1874
  catalog::Instance::const_reference catalog() const
 
1875
  {
 
1876
    return *(_catalog.get());
 
1877
  }
 
1878
 
 
1879
  catalog::Instance::reference catalog()
 
1880
  {
 
1881
    return *(_catalog.get());
1877
1882
  }
1878
1883
 
1879
1884
private: