22 #include <plugin/show_dictionary/dictionary.h>
27 ShowSchemas::ShowSchemas() :
30 add_field(
"SCHEMA_NAME");
33 ShowSchemas::Generator::Generator(
Field **arg) :
35 schema_generator(getSession())
39 bool ShowSchemas::Generator::populate()
41 drizzled::message::schema::shared_ptr schema_ptr;
43 if (not isShowQuery())
46 while ((schema_ptr= schema_generator))
48 if (isWild(schema_ptr->name()))
52 push(schema_ptr->name());
TODO: Rename this file - func.h is stupid.