~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
2252.1.17 by Olaf van der Spek
Common fwd
34
namespace drizzled {
2154.2.2 by Brian Aker
Reduce include files for show command.
35
36
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.
37
                      const char *str,const char *wildstr);
575.4.7 by Monty Taylor
More header cleanup.
38
2119.4.1 by Monty Taylor
Turns on -fvisibility=hidden by default. Symbols intended to be used by
39
DRIZZLED_API int get_quote_char_for_identifier();
1273.19.8 by Brian Aker
Fixes for lint.
40
2096.1.7 by Brian Aker
Shrink parser code, push C out to function call.
41
namespace show {
42
2096.1.12 by Brian Aker
Additional show to functions.
43
bool buildColumns(Session *session, const char *schema_ident, Table_ident *table_ident);
2371.1.2 by Brian Aker
Remove the typedef on lexkey
44
bool buildCreateSchema(Session *session, lex_string_t &ident);
2096.1.12 by Brian Aker
Additional show to functions.
45
bool buildCreateTable(Session *session, Table_ident *ident);
46
bool buildDescribe(Session *session, Table_ident *ident);
47
bool buildIndex(Session *session, const char *schema_ident, Table_ident *table_ident);
48
bool buildProcesslist(Session *session);
2318.6.31 by Olaf van der Spek
Refactor
49
bool buildSchemas(Session*);
2096.1.12 by Brian Aker
Additional show to functions.
50
bool buildStatus(Session *session, const drizzled::sql_var_t is_global);
2371.1.2 by Brian Aker
Remove the typedef on lexkey
51
bool buildEngineStatus(Session *session, lex_string_t);
2096.1.12 by Brian Aker
Additional show to functions.
52
bool buildTableStatus(Session *session, const char *ident);
2096.1.10 by Brian Aker
More shuffle of show into functions.
53
bool buildTables(Session *session, const char *ident);
54
bool buildTemporaryTables(Session *session);
2096.1.11 by Brian Aker
Additional show to function.
55
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.
56
57
void buildErrors(Session *session);
58
void buildWarnings(Session *session);
59
60
void buildSelectWarning(Session *session);
61
void buildSelectError(Session *session);
2096.1.7 by Brian Aker
Shrink parser code, push C out to function call.
62
63
} // namespace show
64
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
65
} /* namespace drizzled */
66