~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_plugin.cc

  • Committer: Brian Aker
  • Date: 2008-07-14 03:04:13 UTC
  • mfrom: (77.1.90 codestyle)
  • Revision ID: brian@tangent.org-20080714030413-dpv6opb0eoy1rd3f
Merging Monty's code, I did remove error on compile though (since it does
not currently work because of sql_plugin.cc)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1403
1403
 
1404
1404
#define EXTRA_OPTIONS 3 /* options for: 'foo', 'plugin-foo' and NULL */
1405
1405
 
1406
 
typedef DECLARE_MYSQL_SYSVAR_BASIC(sysvar_bool_t, my_bool);
1407
 
typedef DECLARE_MYSQL_THDVAR_BASIC(thdvar_bool_t, my_bool);
 
1406
typedef DECLARE_MYSQL_SYSVAR_BASIC(sysvar_bool_t, bool);
 
1407
typedef DECLARE_MYSQL_THDVAR_BASIC(thdvar_bool_t, bool);
1408
1408
typedef DECLARE_MYSQL_SYSVAR_BASIC(sysvar_str_t, char *);
1409
1409
typedef DECLARE_MYSQL_THDVAR_BASIC(thdvar_str_t, char *);
1410
1410
 
2493
2493
      continue;
2494
2494
    switch (opt->flags & PLUGIN_VAR_TYPEMASK) {
2495
2495
    case PLUGIN_VAR_BOOL:
2496
 
      SET_PLUGIN_VAR_RESOLVE((thdvar_bool_t *) opt);
 
2496
      SET_PLUGIN_VAR_RESOLVE(((thdvar_bool_t *) opt));
2497
2497
      break;
2498
2498
    case PLUGIN_VAR_INT:
2499
2499
      SET_PLUGIN_VAR_RESOLVE((thdvar_int_t *) opt);