~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/plugin.cc

  • Committer: Monty Taylor
  • Date: 2010-06-02 22:35:45 UTC
  • mto: This revision was merged to the branch mainline in revision 1586.
  • Revision ID: mordred@inaugust.com-20100602223545-q8ekf9b40a85nwuf
Rearragned unittests into a single exe because of how we need to link it
(thanks lifeless)
Link with server symbols without needing to build a library.
Added an additional atomics test which tests whatever version of the atomics
lib the running platform would actually use.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
namespace drizzled
25
25
{
26
26
 
27
 
plugin::Plugin::Plugin(const std::string &name, const std::string &type_name)
28
 
  : _name(name),
29
 
    _is_active(true),
30
 
    _module(NULL),
31
 
    _type_name(type_name)
 
27
plugin::Plugin::Plugin(std::string in_name, std::string in_type_name)
 
28
  : name(in_name),
 
29
    is_active(true),
 
30
    module(NULL),
 
31
    type_name(in_type_name)
32
32
{ }
33
33
 
34
34
const std::string& plugin::Plugin::getModuleName() const
35
35
{
36
 
  return _module->getName();
 
36
  return module->getName();
37
37
}
38
38
 
39
39
} /* namespace drizzled */