~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/status_dictionary/status.cc

  • Committer: Stewart Smith
  • Date: 2011-01-14 05:21:52 UTC
  • mto: (2086.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2087.
  • Revision ID: stewart@flamingspork.com-20110114052152-xnvlbrzvy3bx1ucd
add some FIXME to analyze docs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
  std::ostringstream oss;
96
96
  std::string return_value;
97
97
 
 
98
  LOCK_global_system_variables.lock();
 
99
 
 
100
  if (show_type == SHOW_SYS)
98
101
  {
99
 
    boost::mutex::scoped_lock scopedLock(getSession().catalog().systemVariableLock());
100
 
 
101
 
    if (show_type == SHOW_SYS)
102
 
    {
103
 
      show_type= ((sys_var*) value)->show_type();
104
 
      value= (char*) ((sys_var*) value)->value_ptr(&(getSession()), option_type,
105
 
                                                   &null_lex_str);
106
 
    }
107
 
 
108
 
    return_value= StatusHelper::fillHelper(NULL, value, show_type); 
 
102
    show_type= ((sys_var*) value)->show_type();
 
103
    value= (char*) ((sys_var*) value)->value_ptr(&(getSession()), option_type,
 
104
                                                 &null_lex_str);
109
105
  }
 
106
 
 
107
  return_value= StatusHelper::fillHelper(NULL, value, show_type); 
 
108
 
 
109
  LOCK_global_system_variables.unlock();
110
110
  push(name);
111
 
 
112
111
  if (return_value.length())
113
112
    push(return_value);
114
113
  else