~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_plugin.cc

  • Committer: Monty Taylor
  • Date: 2009-04-26 00:50:57 UTC
  • mto: (997.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 1003.
  • Revision ID: mordred@inaugust.com-20090426005057-a9dwo090ey166tiw
Removed the m4-based plugin system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
#define REPORT_TO_USER 2
44
44
 
45
45
using namespace std;
46
 
 
47
 
extern struct drizzled_plugin_manifest *mysqld_builtins[];
 
46
 
 
47
typedef struct drizzled_plugin_manifest builtin_plugin[];
 
48
extern builtin_plugin DRIZZLED_BUILTIN_LIST;
 
49
static drizzled_plugin_manifest *drizzled_builtins[]=
 
50
{
 
51
  DRIZZLED_BUILTIN_LIST,(struct drizzled_plugin_manifest *)0
 
52
};
48
53
 
49
54
char *opt_plugin_load= NULL;
50
55
const char *opt_plugin_load_default= QUOTE_ARG(DRIZZLED_PLUGIN_LIST);
602
607
  /*
603
608
    First we register builtin plugins
604
609
  */
605
 
  for (builtins= mysqld_builtins; *builtins; builtins++)
 
610
  for (builtins= drizzled_builtins; *builtins; builtins++)
606
611
  {
607
612
    for (plugin= *builtins; plugin->name; plugin++)
608
613
    {