~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/session_dictionary/processlist.cc

  • Committer: Brian Aker
  • Date: 2010-11-27 18:27:58 UTC
  • mfrom: (1948.2.15 catalogs)
  • Revision ID: brian@tangent.org-20101127182758-dmlrboyhsazqa1tm
Merge in additiona fixes, includes a number of bug fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
  add_field("TIME", plugin::TableFunction::NUMBER, 0, false);
47
47
  add_field("STATE", plugin::TableFunction::STRING, 256, true);
48
48
  add_field("INFO", plugin::TableFunction::STRING, PROCESS_LIST_WIDTH, true);
 
49
  add_field("HAS_GLOBAL_LOCK", plugin::TableFunction::BOOLEAN);
49
50
}
50
51
 
51
52
ProcesslistTool::Generator::Generator(Field **arg) :
118
119
    /* INFO */
119
120
    push(*tmp->getQueryString());
120
121
 
 
122
    /* HAS_GLOBAL_LOCK */
 
123
    bool has_global_lock= tmp->isGlobalReadLock();
 
124
    push(has_global_lock);
 
125
 
121
126
    return true;
122
127
  }
123
128