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 |
*
|
|
4 |
* Copyright (C) 2008 Sun Microsystems
|
|
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 |
*/
|
|
1122.2.10
by Monty Taylor
Fixed all of the include guards. |
27 |
#ifndef DRIZZLED_SHOW_H
|
28 |
#define DRIZZLED_SHOW_H
|
|
575.4.7
by Monty Taylor
More header cleanup. |
29 |
|
1071.1.2
by Nathan Williams
Converted st_add_schema_table::files from List<LEX_STRING> to std::vector<LEX_STRING*>. |
30 |
#include <vector> |
31 |
||
1122.2.10
by Monty Taylor
Fixed all of the include guards. |
32 |
#include "drizzled/sql_list.h" |
33 |
#include "drizzled/lex_string.h" |
|
34 |
#include "drizzled/sql_parse.h" |
|
1237.9.6
by Padraig O'Sullivan
Resolved some conflicts that appeared after merging with trunk. |
35 |
#include "drizzled/plugin.h" |
1122.2.10
by Monty Taylor
Fixed all of the include guards. |
36 |
|
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
37 |
namespace drizzled |
38 |
{
|
|
39 |
||
575.4.7
by Monty Taylor
More header cleanup. |
40 |
/* Forward declarations */
|
41 |
class String; |
|
42 |
class JOIN; |
|
43 |
class Session; |
|
44 |
struct st_ha_create_information; |
|
45 |
typedef st_ha_create_information HA_CREATE_INFO; |
|
46 |
struct TableList; |
|
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
47 |
|
1130.1.1
by Monty Taylor
Merged in plugin-slot-reorg patches. |
48 |
namespace plugin |
49 |
{
|
|
1130.1.7
by Monty Taylor
Renamed plugin::InfoSchema to plugin::InfoSchemaTable as per Jay. |
50 |
class InfoSchemaTable; |
1130.1.1
by Monty Taylor
Merged in plugin-slot-reorg patches. |
51 |
}
|
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
52 |
|
1130.1.1
by Monty Taylor
Merged in plugin-slot-reorg patches. |
53 |
|
1130.3.4
by Monty Taylor
Merged in tree-wide include guard fixes and some header cleanup. |
54 |
class Table; |
1122.2.13
by Monty Taylor
Header cleanup. |
55 |
typedef class Item COND; |
584.1.15
by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes. |
56 |
|
1273.13.74
by Brian Aker
Bits of dead code/STATUS_VAR rename. |
57 |
extern struct system_status_var global_status_var; |
1241.9.29
by Monty Taylor
Removed some globals from server_includes. |
58 |
|
1081.2.8
by Padraig O'Sullivan
Extracted the SCHEMATA table into the I_S plugin. |
59 |
typedef struct st_lookup_field_values |
60 |
{
|
|
61 |
LEX_STRING db_value, table_value; |
|
62 |
bool wild_db_value, wild_table_value; |
|
63 |
} LOOKUP_FIELD_VALUES; |
|
64 |
||
65 |
bool calc_lookup_values_from_cond(Session *session, COND *cond, TableList *table, |
|
1225.1.20
by Padraig O'Sullivan
Removed all remnants of schema_table from the TableList class. This cleans up a bunch of code. |
66 |
LOOKUP_FIELD_VALUES *lookup_field_vals, |
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
67 |
plugin::InfoSchemaTable *schema_table); |
1081.2.8
by Padraig O'Sullivan
Extracted the SCHEMATA table into the I_S plugin. |
68 |
bool get_lookup_field_values(Session *session, COND *cond, TableList *tables, |
1225.1.20
by Padraig O'Sullivan
Removed all remnants of schema_table from the TableList class. This cleans up a bunch of code. |
69 |
LOOKUP_FIELD_VALUES *lookup_field_values, |
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
70 |
plugin::InfoSchemaTable *schema_table); |
1071.1.5
by Nathan Williams
Merged trunk, resolved conflicts. |
71 |
int make_db_list(Session *session, std::vector<LEX_STRING*> &files, |
72 |
LOOKUP_FIELD_VALUES *lookup_field_vals, bool *with_i_schema); |
|
1273.13.73
by Brian Aker
Remove typedef and drop some dead code. |
73 |
drizzle_show_var *getFrontOfStatusVars(); |
74 |
drizzle_show_var *getCommandStatusVars(); |
|
575.4.7
by Monty Taylor
More header cleanup. |
75 |
|
1222.1.3
by Brian Aker
Remove used flag for engine. |
76 |
int store_create_info(TableList *table_list, String *packet, bool is_if_not_exists); |
1089.10.1
by Stewart Smith
fix SHOW CREATE DATABASE for default collation. Move database metadata reading code around to be a bit more sane. |
77 |
|
1014.3.4
by Brian Aker
Remove dead session calls. |
78 |
int get_quote_char_for_identifier(); |
1067.3.1
by Padraig O'Sullivan
Extracted the CHARACTER_SET I_S table into the I_S plugin. |
79 |
int wild_case_compare(const CHARSET_INFO * const cs, |
80 |
const char *str,const char *wildstr); |
|
575.4.7
by Monty Taylor
More header cleanup. |
81 |
|
1034.1.4
by Brian Aker
Fixed TableList to correctly construct (and removed memset() calls in |
82 |
bool make_schema_select(Session *session, Select_Lex *sel, |
1079.2.9
by Padraig O'Sullivan
Removed the dependency on knowing the position of an I_S table in the |
83 |
const std::string& schema_table_name); |
575.4.7
by Monty Taylor
More header cleanup. |
84 |
|
520.1.22
by Brian Aker
Second pass of thd cleanup |
85 |
bool mysqld_show_open_tables(Session *session,const char *wild); |
86 |
void mysqld_list_fields(Session *session,TableList *table, const char *wild); |
|
87 |
int mysqld_dump_create_info(Session *session, TableList *table_list, int fd); |
|
1222.2.3
by Brian Aker
Remove a few more options, from options in HA_CREATE_INFO. |
88 |
bool drizzled_show_create(Session *session, TableList *table_list, bool is_if_not_exists); |
1273
by Brian Aker
Revert db patch. |
89 |
bool mysqld_show_create_db(Session *session, char *dbname, bool if_not_exists); |
243.1.15
by Jay Pipes
Added new non-server, non-client common includes header, new show.h and connect.h headers |
90 |
|
520.1.22
by Brian Aker
Second pass of thd cleanup |
91 |
bool mysqld_show_column_types(Session *session); |
1273.13.74
by Brian Aker
Bits of dead code/STATUS_VAR rename. |
92 |
void calc_sum_of_all_status(struct system_status_var *to); |
243.1.15
by Jay Pipes
Added new non-server, non-client common includes header, new show.h and connect.h headers |
93 |
|
1273.13.73
by Brian Aker
Remove typedef and drop some dead code. |
94 |
int add_status_vars(drizzle_show_var *list); |
1273.13.76
by Brian Aker
Remove dead SHOW_ARRAY type. |
95 |
int add_com_status_vars(drizzle_show_var *list); |
1273.13.73
by Brian Aker
Remove typedef and drop some dead code. |
96 |
void remove_status_vars(drizzle_show_var *list); |
243.1.15
by Jay Pipes
Added new non-server, non-client common includes header, new show.h and connect.h headers |
97 |
void init_status_vars(); |
98 |
void free_status_vars(); |
|
99 |
void reset_status_vars(); |
|
100 |
||
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
101 |
} /* namespace drizzled */ |
102 |
||
1122.2.10
by Monty Taylor
Fixed all of the include guards. |
103 |
#endif /* DRIZZLED_SHOW_H */ |