~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/registry_dictionary/modules.cc

  • Committer: Stewart Smith
  • Date: 2011-03-29 01:30:47 UTC
  • mto: (2257.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2258.
  • Revision ID: stewart@flamingspork.com-20110329013047-5ujzfx6pahmwuko2
have CachedDirectory print out a warning if we can't stat() something in a directory. We should always have access to at least stat() things in directories Drizzle is running in (otherwise there is likely a problem)

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include "config.h"
 
21
#include <config.h>
22
22
 
23
 
#include "plugin/registry_dictionary/dictionary.h"
24
 
#include "drizzled/module/library.h"
 
23
#include <plugin/registry_dictionary/dictionary.h>
 
24
#include <drizzled/module/library.h>
25
25
 
26
26
using namespace std;
27
27
using namespace drizzled;
41
41
  add_field("MODULE_NAME");
42
42
  add_field("MODULE_VERSION", 20);
43
43
  add_field("MODULE_AUTHOR");
44
 
  add_field("IS_BUILTIN", plugin::TableFunction::BOOLEAN);
 
44
  add_field("IS_BUILTIN", plugin::TableFunction::BOOLEAN, 0, false);
45
45
  add_field("MODULE_LIBRARY", 254);
46
46
  add_field("MODULE_DESCRIPTION", 254);
47
47
  add_field("MODULE_LICENSE", 80);
51
51
  plugin::TableFunction::Generator(arg)
52
52
{
53
53
  module::Registry &registry= module::Registry::singleton();
54
 
  modules= registry.getList(true);
 
54
  modules= registry.getList();
55
55
  it= modules.begin();
56
56
}
57
57