00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #pragma once
00022
00023 class ShowTableStatus : public show_dictionary::Show
00024 {
00025 public:
00026 ShowTableStatus();
00027
00028 class Generator : public show_dictionary::Show::Generator
00029 {
00030 bool is_primed;
00031 drizzled::Table *table;
00032 std::string schema_predicate;
00033 std::vector<drizzled::Table *> table_list;
00034 std::vector<drizzled::Table *>::iterator table_list_iterator;
00035 boost::mutex::scoped_lock scopedLock;
00036
00037 void fill();
00038
00039 const char *schema_name();
00040 bool checkSchemaName();
00041
00042 bool nextCore();
00043 bool next();
00044
00045 public:
00046 bool populate();
00047
00048 Generator(drizzled::Field **arg);
00049 ~Generator();
00050 };
00051
00052 Generator *generator(drizzled::Field **arg)
00053 {
00054 return new Generator(arg);
00055 }
00056 };
00057