~drizzle-trunk/drizzle/development

390.1.2 by Monty Taylor
Fixed copyright headers in drizzled/
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
 *
1999.6.1 by kalebral at gmail
update Copyright strings to a more common format to help with creating the master debian copyright file
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
390.1.2 by Monty Taylor
Fixed copyright headers in drizzled/
5
 *
6
 *  This program is free software; you can redistribute it and/or modify
7
 *  it under the terms of the GNU General Public License as published by
8
 *  the Free Software Foundation; version 2 of the License.
9
 *
10
 *  This program is distributed in the hope that it will be useful,
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 *  GNU General Public License for more details.
14
 *
15
 *  You should have received a copy of the GNU General Public License
16
 *  along with this program; if not, write to the Free Software
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
 */
243.1.15 by Jay Pipes
Added new non-server, non-client common includes header, new show.h and connect.h headers
19
20
/**
21
 * @file
22
 *
23
 * Contains function declarations that deal with the SHOW commands.  These
24
 * will eventually go away, but for now we split these definitions out into
25
 * their own header file for easier maintenance
26
 */
2234 by Brian Aker
Mass removal of ifdef/endif in favor of pragma once.
27
#pragma once
575.4.7 by Monty Taylor
More header cleanup.
28
2173.2.1 by Monty Taylor
Fixes incorrect usage of include
29
#include <drizzled/enum.h>
30
#include <drizzled/lex_string.h>
1122.2.10 by Monty Taylor
Fixed all of the include guards.
31
2173.2.1 by Monty Taylor
Fixes incorrect usage of include
32
#include <drizzled/visibility.h>
2119.4.1 by Monty Taylor
Turns on -fvisibility=hidden by default. Symbols intended to be used by
33
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
34
namespace drizzled
35
{
36
575.4.7 by Monty Taylor
More header cleanup.
37
/* Forward declarations */
38
class Session;
2154.2.2 by Brian Aker
Reduce include files for show command.
39
class Table_ident;
40
struct charset_info_st;
41
42
int wild_case_compare(const charset_info_st * const cs, 
1067.3.1 by Padraig O'Sullivan
Extracted the CHARACTER_SET I_S table into the I_S plugin.
43
                      const char *str,const char *wildstr);
575.4.7 by Monty Taylor
More header cleanup.
44
2119.4.1 by Monty Taylor
Turns on -fvisibility=hidden by default. Symbols intended to be used by
45
DRIZZLED_API int get_quote_char_for_identifier();
1273.19.8 by Brian Aker
Fixes for lint.
46
2096.1.7 by Brian Aker
Shrink parser code, push C out to function call.
47
namespace show {
48
2096.1.12 by Brian Aker
Additional show to functions.
49
bool buildColumns(Session *session, const char *schema_ident, Table_ident *table_ident);
50
bool buildCreateSchema(Session *session, LEX_STRING &ident);
51
bool buildCreateTable(Session *session, Table_ident *ident);
52
bool buildDescribe(Session *session, Table_ident *ident);
53
bool buildIndex(Session *session, const char *schema_ident, Table_ident *table_ident);
54
bool buildProcesslist(Session *session);
2096.1.9 by Brian Aker
Merge in additional show.
55
bool buildScemas(Session *session);
2096.1.12 by Brian Aker
Additional show to functions.
56
bool buildStatus(Session *session, const drizzled::sql_var_t is_global);
2131.3.1 by Andrew Hutchings
Add error telling the user to use data_dictionary for SHOW engine_name STATUS
57
bool buildEngineStatus(Session *session, LEX_STRING);
2096.1.12 by Brian Aker
Additional show to functions.
58
bool buildTableStatus(Session *session, const char *ident);
2096.1.10 by Brian Aker
More shuffle of show into functions.
59
bool buildTables(Session *session, const char *ident);
60
bool buildTemporaryTables(Session *session);
2096.1.11 by Brian Aker
Additional show to function.
61
bool buildVariables(Session *session, const drizzled::sql_var_t is_global);
2137.1.12 by Brian Aker
Remove current_session in building the error count.
62
63
void buildErrors(Session *session);
64
void buildWarnings(Session *session);
65
66
void buildSelectWarning(Session *session);
67
void buildSelectError(Session *session);
2096.1.7 by Brian Aker
Shrink parser code, push C out to function call.
68
69
} // namespace show
70
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
71
} /* namespace drizzled */
72