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/lex_string.h>
00031 
00032 #include <drizzled/visibility.h>
00033 
00034 namespace drizzled
00035 {
00036 
00037 /* Forward declarations */
00038 class Session;
00039 class Table_ident;
00040 struct charset_info_st;
00041 
00042 int wild_case_compare(const charset_info_st * const cs, 
00043                       const char *str,const char *wildstr);
00044 
00045 DRIZZLED_API int get_quote_char_for_identifier();
00046 
00047 namespace show {
00048 
00049 bool buildColumns(Session *session, const char *schema_ident, Table_ident *table_ident);
00050 bool buildCreateSchema(Session *session, LEX_STRING &ident);
00051 bool buildCreateTable(Session *session, Table_ident *ident);
00052 bool buildDescribe(Session *session, Table_ident *ident);
00053 bool buildIndex(Session *session, const char *schema_ident, Table_ident *table_ident);
00054 bool buildProcesslist(Session *session);
00055 bool buildScemas(Session *session);
00056 bool buildStatus(Session *session, const drizzled::sql_var_t is_global);
00057 bool buildEngineStatus(Session *session, LEX_STRING);
00058 bool buildTableStatus(Session *session, const char *ident);
00059 bool buildTables(Session *session, const char *ident);
00060 bool buildTemporaryTables(Session *session);
00061 bool buildVariables(Session *session, const drizzled::sql_var_t is_global);
00062 
00063 void buildErrors(Session *session);
00064 void buildWarnings(Session *session);
00065 
00066 void buildSelectWarning(Session *session);
00067 void buildSelectError(Session *session);
00068 
00069 } // namespace show
00070 
00071 } /* namespace drizzled */
00072