~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_plugin.cc

  • Committer: Stewart Smith
  • Date: 2008-09-25 08:57:27 UTC
  • mto: This revision was merged to the branch mainline in revision 408.
  • Revision ID: stewart@flamingspork.com-20080925085727-lwemz5gl6tvrp9ku
UDFs are now normal Item_func objects. Simplifies handling them a lot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
342
342
    dlpath;
343
343
  plugin_dl.ref_count= 1;
344
344
  /* Open new dll handle */
345
 
  if (!(plugin_dl.handle= dlopen(dlpath, RTLD_NOW)))
 
345
  if (!(plugin_dl.handle= dlopen(dlpath, RTLD_LAZY|RTLD_GLOBAL)))
346
346
  {
347
347
    const char *errmsg=dlerror();
348
348
    if (!strncmp(dlpath, errmsg, dlpathlen))