Drizzled Public API Documentation

show.h
Go to the documentation of this file.
00001 /* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
00002  *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
00003  *
00004  *  Copyright (C) 2008 Sun Microsystems, Inc.
00005  *
00006  *  This program is free software; you can redistribute it and/or modify
00007  *  it under the terms of the GNU General Public License as published by
00008  *  the Free Software Foundation; version 2 of the License.
00009  *
00010  *  This program is distributed in the hope that it will be useful,
00011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *  GNU General Public License for more details.
00014  *
00015  *  You should have received a copy of the GNU General Public License
00016  *  along with this program; if not, write to the Free Software
00017  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00018  */
00019 
00027 #pragma once
00028 
00029 #include <drizzled/enum.h>
00030 #include <drizzled/util/data_ref.h>
00031 #include <drizzled/visibility.h>
00032 #include <drizzled/common_fwd.h>
00033 
00034 namespace drizzled {
00035 
00036 int wild_case_compare(const charset_info_st*, const char *str, const char *wildstr);
00037 
00038 DRIZZLED_API int get_quote_char_for_identifier();
00039 
00040 namespace show {
00041 
00042 bool buildColumns(Session*, const char *schema_ident, Table_ident *table_ident);
00043 bool buildCreateSchema(Session*, str_ref ident);
00044 bool buildCreateTable(Session*, Table_ident *ident);
00045 bool buildDescribe(Session*, Table_ident *ident);
00046 bool buildIndex(Session*, const char *schema_ident, Table_ident *table_ident);
00047 bool buildProcesslist(Session*);
00048 bool buildSchemas(Session*);
00049 bool buildStatus(Session*, const drizzled::sql_var_t is_global);
00050 bool buildEngineStatus(Session*, str_ref);
00051 bool buildTableStatus(Session*, const char *ident);
00052 bool buildTables(Session*, const char *ident);
00053 bool buildTemporaryTables(Session*);
00054 bool buildVariables(Session*, const drizzled::sql_var_t is_global);
00055 
00056 void buildErrors(Session*);
00057 void buildWarnings(Session*);
00058 
00059 void buildSelectWarning(Session*);
00060 void buildSelectError(Session*);
00061 
00062 } // namespace show
00063 
00064 } /* namespace drizzled */