~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/catalog/engine.h

  • Committer: Brian Aker
  • Date: 2010-12-02 07:08:17 UTC
  • mto: (2017.3.1 catalogs)
  • mto: This revision was merged to the branch mainline in revision 2073.
  • Revision ID: brian@tangent.org-20101202070817-vzs5zyun6tbql094
We now display catalogs into the tables correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <boost/make_shared.hpp>
25
25
#include <drizzled/catalog/engine.h>
26
26
 
 
27
namespace plugin {
27
28
namespace catalog {
28
29
 
29
30
class Engine : public drizzled::catalog::Engine
78
79
 
79
80
  void getMessages(drizzled::message::catalog::vector &messages)
80
81
  {
81
 
    messages.push_back(boost::make_shared<drizzled::message::catalog::value_type>());
 
82
    static drizzled::identifier::Catalog LOCAL_IDENTIFIER("local");
 
83
    messages.push_back(drizzled::message::catalog::create(LOCAL_IDENTIFIER));
82
84
  }
83
85
 
84
86
  bool getInstance(const drizzled::identifier::Catalog &identifier, drizzled::catalog::Instance::shared_ptr &instance)
97
99
};
98
100
 
99
101
} /* namespace catalog */
 
102
} /* namespace plugin */
100
103
 
101
104
#endif /* PLUGIN_CATALOG_ENGINE_H */