~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.5 by Jay Pipes
* Pulled the remainder of the log and parse stuff out into
19
2234 by Brian Aker
Mass removal of ifdef/endif in favor of pragma once.
20
#pragma once
243.1.5 by Jay Pipes
* Pulled the remainder of the log and parse stuff out into
21
2119.4.1 by Monty Taylor
Turns on -fvisibility=hidden by default. Symbols intended to be used by
22
#include <string>
23
2173.2.1 by Monty Taylor
Fixes incorrect usage of include
24
#include <drizzled/definitions.h>
25
#include <drizzled/common.h>
26
#include <drizzled/comp_creator.h>
27
#include <drizzled/identifier.h>
1122.2.13 by Monty Taylor
Header cleanup.
28
2173.2.1 by Monty Taylor
Fixes incorrect usage of include
29
#include <drizzled/error_t.h>
30
#include <drizzled/visibility.h>
2041.3.16 by Brian Aker
Merge in change so that we pull out the error_t enum out to its own
31
2252.1.17 by Olaf van der Spek
Common fwd
32
namespace drizzled {
1241.9.61 by Monty Taylor
No more mystrings in drizzled/
33
2440.2.5 by Olaf van der Spek
Use str_ref
34
DRIZZLED_API const std::string& getCommandName(const enum_server_command& command);
1241.9.25 by Monty Taylor
Removed global LEX_STRING ref from server_includes.h.
35
2440.2.6 by Olaf van der Spek
Use str_ref
36
bool execute_sqlcom_select(Session*, TableList *all_tables);
37
bool insert_select_prepare(Session*);
38
bool update_precheck(Session*, TableList *tables);
39
bool delete_precheck(Session*, TableList *tables);
40
bool insert_precheck(Session*, TableList *tables);
243.1.5 by Jay Pipes
* Pulled the remainder of the log and parse stuff out into
41
2440.2.6 by Olaf van der Spek
Use str_ref
42
Item *negate_expression(Session*, Item *expr);
243.1.5 by Jay Pipes
* Pulled the remainder of the log and parse stuff out into
43
2440.2.5 by Olaf van der Spek
Use str_ref
44
bool check_identifier_name(str_ref, error_t err_code= EE_OK);
243.1.5 by Jay Pipes
* Pulled the remainder of the log and parse stuff out into
45
2440.2.6 by Olaf van der Spek
Use str_ref
46
bool check_string_byte_length(str_ref, const char *err_msg, uint32_t max_byte_length);
47
bool check_string_char_length(str_ref, const char *err_msg, uint32_t max_char_length, const charset_info_st*, bool no_error);
48
49
bool test_parse_for_slave(Session*, char *inBuf, uint32_t length);
50
51
void reset_session_for_next_command(Session*);
52
53
void create_select_for_variable(Session*, const char *var_name);
575.4.7 by Monty Taylor
More header cleanup.
54
2440.2.5 by Olaf van der Spek
Use str_ref
55
void init_update_queries();
575.4.7 by Monty Taylor
More header cleanup.
56
2440.2.6 by Olaf van der Spek
Use str_ref
57
bool dispatch_command(enum_server_command command, Session*, const char* packet, uint32_t packet_length);
58
59
bool check_simple_select(Session*);
60
61
void init_select(LEX*);
62
bool new_select(LEX*, bool move_down);
575.4.7 by Monty Taylor
More header cleanup.
63
2227.4.9 by Olaf van der Spek
Session::lex()
64
int prepare_new_schema_table(Session*, LEX&, const std::string& schema_table_name);
1273.13.38 by Brian Aker
Add in new show work.
65
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.
66
Item * all_any_subquery_creator(Item *left_expr,
67
                                chooser_compare_func_creator cmp,
68
                                bool all,
846 by Brian Aker
Removing on typedeffed class.
69
                                Select_Lex *select_lex);
575.4.7 by Monty Taylor
More header cleanup.
70
2440.2.6 by Olaf van der Spek
Use str_ref
71
char* query_table_status(Session*,const char *db,const char *table_name);
1253.1.5 by Monty Taylor
These are either dead or don't belong there.
72
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
73
} /* namespace drizzled */
74