~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 22:07:42 UTC
  • Revision ID: brian@tangent.org-20080714220742-y7fjh1mitrfcgfij
Second pass cleanup on removal of my_uint types

Show diffs side-by-side

added added

removed removed

Lines of Context:
2370
2370
  case PLUGIN_VAR_STR:
2371
2371
    options->var_type= ((opt->flags & PLUGIN_VAR_MEMALLOC) ?
2372
2372
                        GET_STR_ALLOC : GET_STR);
2373
 
    options->def_value= (intptr) ((sysvar_str_t*) opt)->def_val;
 
2373
    options->def_value= (intptr_t) ((sysvar_str_t*) opt)->def_val;
2374
2374
    break;
2375
2375
  /* threadlocal variables */
2376
2376
  case PLUGIN_VAR_INT | PLUGIN_VAR_THDLOCAL:
2412
2412
  case PLUGIN_VAR_STR | PLUGIN_VAR_THDLOCAL:
2413
2413
    options->var_type= ((opt->flags & PLUGIN_VAR_MEMALLOC) ?
2414
2414
                        GET_STR_ALLOC : GET_STR);
2415
 
    options->def_value= (intptr) ((thdvar_str_t*) opt)->def_val;
 
2415
    options->def_value= (intptr_t) ((thdvar_str_t*) opt)->def_val;
2416
2416
    break;
2417
2417
  default:
2418
2418
    assert(0);