~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_plugin.cc

  • Committer: Monty Taylor
  • Date: 2008-11-07 00:15:51 UTC
  • mto: This revision was merged to the branch mainline in revision 579.
  • Revision ID: monty@inaugust.com-20081107001551-8vxb6sf1ti0i5p09
Cleaned up some headers for PCH.

Show diffs side-by-side

added added

removed removed

Lines of Context:
219
219
static void plugin_vars_free_values(sys_var *vars);
220
220
static void plugin_opt_set_limits(struct my_option *options,
221
221
                                  const struct st_mysql_sys_var *opt);
222
 
#define my_intern_plugin_lock(A,B) intern_plugin_lock(A,B CALLER_INFO)
223
 
#define my_intern_plugin_lock_ci(A,B) intern_plugin_lock(A,B ORIG_CALLER_INFO)
224
 
static plugin_ref intern_plugin_lock(LEX *lex, plugin_ref plugin
225
 
                                     CALLER_INFO_PROTO);
 
222
#define my_intern_plugin_lock(A,B) intern_plugin_lock(A,B)
 
223
#define my_intern_plugin_lock_ci(A,B) intern_plugin_lock(A,B)
 
224
static plugin_ref intern_plugin_lock(LEX *lex, plugin_ref plugin);
226
225
static void intern_plugin_unlock(LEX *lex, plugin_ref plugin);
227
226
static void reap_plugins(void);
228
227
 
511
510
}
512
511
 
513
512
 
514
 
static plugin_ref intern_plugin_lock(LEX *lex, plugin_ref rc CALLER_INFO_PROTO)
 
513
static plugin_ref intern_plugin_lock(LEX *lex, plugin_ref rc)
515
514
{
516
515
  st_plugin_int *pi= plugin_ref_to_int(rc);
517
516
 
537
536
}
538
537
 
539
538
 
540
 
plugin_ref plugin_lock(Session *session, plugin_ref *ptr CALLER_INFO_PROTO)
 
539
plugin_ref plugin_lock(Session *session, plugin_ref *ptr)
541
540
{
542
541
  LEX *lex= session ? session->lex : 0;
543
542
  plugin_ref rc;
546
545
}
547
546
 
548
547
 
549
 
plugin_ref plugin_lock_by_name(Session *session, const LEX_STRING *name, int type
550
 
                               CALLER_INFO_PROTO)
 
548
plugin_ref plugin_lock_by_name(Session *session, const LEX_STRING *name, int type)
551
549
{
552
550
  LEX *lex= session ? session->lex : 0;
553
551
  plugin_ref rc= NULL;