~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sys_var.cc

  • Committer: Monty Taylor
  • Date: 2011-01-26 19:15:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2126.
  • Revision ID: mordred@inaugust.com-20110126191555-nq5nnzyscvngsip2
Turns on -fvisibility=hidden by default. Symbols intended to be used by
plugins need to be marked with DRIZZLED_API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
#include "drizzled/charset.h"
61
61
#include "drizzled/transaction_services.h"
62
62
#include "drizzled/constrained_value.h"
 
63
#include "drizzled/visibility.h"
63
64
 
64
65
#include <cstdio>
65
66
#include <map>
559
560
                                         option_limits, &not_used);
560
561
}
561
562
 
 
563
bool sys_var_bool_ptr::check(Session *session, set_var *var)
 
564
{
 
565
  return check_enum(session, var, &bool_typelib);
 
566
}
 
567
 
562
568
bool sys_var_bool_ptr::update(Session *, set_var *var)
563
569
{
564
570
  *value= bool(var->getInteger());
801
807
  return (unsigned char*) &(session->variables.*offset);
802
808
}
803
809
 
 
810
bool sys_var_session_bool::check(Session *session, set_var *var)
 
811
{
 
812
  return check_enum(session, var, &bool_typelib);
 
813
}
804
814
 
805
815
bool sys_var_session_bool::update(Session *session,  set_var *var)
806
816
{