~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>
2440.2.4 by Olaf van der Spek
Refactor
30
#include <drizzled/util/data_ref.h>
2173.2.1 by Monty Taylor
Fixes incorrect usage of include
31
#include <drizzled/visibility.h>
2462.1.2 by Brian Aker
Remove common_fwd.h from visibility.h
32
#include <drizzled/common_fwd.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
2440.2.4 by Olaf van der Spek
Refactor
36
int wild_case_compare(const charset_info_st*, const char *str, const char *wildstr);
575.4.7 by Monty Taylor
More header cleanup.
37
2119.4.1 by Monty Taylor
Turns on -fvisibility=hidden by default. Symbols intended to be used by
38
DRIZZLED_API int get_quote_char_for_identifier();
1273.19.8 by Brian Aker
Fixes for lint.
39
2096.1.7 by Brian Aker
Shrink parser code, push C out to function call.
40
namespace show {
41
2440.2.4 by Olaf van der Spek
Refactor
42
bool buildColumns(Session*, const char *schema_ident, Table_ident *table_ident);
43
bool buildCreateSchema(Session*, str_ref ident);
44
bool buildCreateTable(Session*, Table_ident *ident);
45
bool buildDescribe(Session*, Table_ident *ident);
46
bool buildIndex(Session*, const char *schema_ident, Table_ident *table_ident);
47
bool buildProcesslist(Session*);
2318.6.31 by Olaf van der Spek
Refactor
48
bool buildSchemas(Session*);
2440.2.4 by Olaf van der Spek
Refactor
49
bool buildStatus(Session*, const drizzled::sql_var_t is_global);
50
bool buildEngineStatus(Session*, str_ref);
51
bool buildTableStatus(Session*, const char *ident);
52
bool buildTables(Session*, const char *ident);
53
bool buildTemporaryTables(Session*);
54
bool buildVariables(Session*, const drizzled::sql_var_t is_global);
55
56
void buildErrors(Session*);
57
void buildWarnings(Session*);
58
59
void buildSelectWarning(Session*);
60
void buildSelectError(Session*);
2096.1.7 by Brian Aker
Shrink parser code, push C out to function call.
61
62
} // namespace show
63
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
64
} /* namespace drizzled */