~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/show_dictionary/show_columns.h

  • Committer: lbieber at stabletransit
  • Date: 2010-10-19 14:03:27 UTC
  • mfrom: (1861.1.2 build)
  • Revision ID: lbieber@drizzle-build-n02.wc1.dfw1.stabletransit.com-20101019140327-2jvt5j2wi4pzhm1z
Merge Brian - Small collection of cleanups/refactor'ing around locks
Merge Monty - fix a few things in the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef PLUGIN_SHOW_DICTIONARY_SHOW_COLUMNS_H
22
22
#define PLUGIN_SHOW_DICTIONARY_SHOW_COLUMNS_H
23
23
 
24
 
class ShowColumns : public show_dictionary::Show
 
24
class ShowColumns : public drizzled::plugin::TableFunction
25
25
{
26
26
public:
27
27
  ShowColumns();
28
28
 
29
 
  bool visable() { return false; }
30
 
 
31
 
  class Generator : public show_dictionary::Show::Generator 
 
29
  class Generator : public drizzled::plugin::TableFunction::Generator 
32
30
  {
33
31
    bool is_tables_primed;
34
32
    bool is_columns_primed;
35
33
 
36
34
    int32_t column_iterator;
37
 
    drizzled::message::table::shared_ptr table_proto;
 
35
    drizzled::message::Table table_proto;
38
36
    drizzled::message::Table::Field column;
39
37
 
40
38
    bool nextColumnCore();
42
40
 
43
41
    std::string table_name;
44
42
 
45
 
    drizzled::message::table::shared_ptr getTableProto()
 
43
    const drizzled::message::Table& getTableProto()
46
44
    {
47
45
      return table_proto;
48
46
    }