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 |
|
1122.2.10
by Monty Taylor
Fixed all of the include guards. |
20 |
#ifndef DRIZZLED_SQL_PARSE_H
|
21 |
#define DRIZZLED_SQL_PARSE_H
|
|
243.1.5
by Jay Pipes
* Pulled the remainder of the log and parse stuff out into |
22 |
|
1122.2.13
by Monty Taylor
Header cleanup. |
23 |
#include "drizzled/definitions.h" |
24 |
#include "drizzled/common.h" |
|
25 |
#include "drizzled/lex_string.h" |
|
26 |
#include "drizzled/comp_creator.h" |
|
1660.1.1
by Brian Aker
Merge in move identifier work. |
27 |
#include "drizzled/identifier.h" |
1122.2.13
by Monty Taylor
Header cleanup. |
28 |
|
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
29 |
namespace drizzled |
30 |
{
|
|
575.4.7
by Monty Taylor
More header cleanup. |
31 |
|
32 |
class Session; |
|
33 |
class TableList; |
|
34 |
class Lex_input_stream; |
|
35 |
class Item; |
|
36 |
class LEX; |
|
584.1.1
by Monty Taylor
Moved an enum def to fix Lee's problem. |
37 |
class Table_ident; |
1122.2.13
by Monty Taylor
Header cleanup. |
38 |
class Select_Lex; |
575.4.7
by Monty Taylor
More header cleanup. |
39 |
|
1241.9.61
by Monty Taylor
No more mystrings in drizzled/ |
40 |
typedef struct charset_info_st CHARSET_INFO; |
41 |
||
1241.9.25
by Monty Taylor
Removed global LEX_STRING ref from server_includes.h. |
42 |
extern const LEX_STRING command_name[]; |
43 |
||
520.1.22
by Brian Aker
Second pass of thd cleanup |
44 |
bool execute_sqlcom_select(Session *session, TableList *all_tables); |
45 |
bool mysql_insert_select_prepare(Session *session); |
|
46 |
bool update_precheck(Session *session, TableList *tables); |
|
47 |
bool delete_precheck(Session *session, TableList *tables); |
|
48 |
bool insert_precheck(Session *session, TableList *tables); |
|
243.1.5
by Jay Pipes
* Pulled the remainder of the log and parse stuff out into |
49 |
|
520.1.22
by Brian Aker
Second pass of thd cleanup |
50 |
Item *negate_expression(Session *session, Item *expr); |
243.1.5
by Jay Pipes
* Pulled the remainder of the log and parse stuff out into |
51 |
|
575.4.7
by Monty Taylor
More header cleanup. |
52 |
bool check_identifier_name(LEX_STRING *str, uint32_t err_code= 0, |
53 |
uint32_t max_char_length= NAME_CHAR_LEN, |
|
54 |
const char *param_for_err_msg= ""); |
|
243.1.5
by Jay Pipes
* Pulled the remainder of the log and parse stuff out into |
55 |
|
56 |
bool check_string_byte_length(LEX_STRING *str, const char *err_msg, |
|
482
by Brian Aker
Remove uint. |
57 |
uint32_t max_byte_length); |
243.1.5
by Jay Pipes
* Pulled the remainder of the log and parse stuff out into |
58 |
bool check_string_char_length(LEX_STRING *str, const char *err_msg, |
482
by Brian Aker
Remove uint. |
59 |
uint32_t max_char_length, const CHARSET_INFO * const cs, |
243.1.5
by Jay Pipes
* Pulled the remainder of the log and parse stuff out into |
60 |
bool no_error); |
61 |
||
575.4.7
by Monty Taylor
More header cleanup. |
62 |
|
63 |
bool mysql_test_parse_for_slave(Session *session, char *inBuf, |
|
64 |
uint32_t length); |
|
65 |
||
66 |
void mysql_reset_session_for_next_command(Session *session); |
|
67 |
||
68 |
void create_select_for_variable(const char *var_name); |
|
69 |
||
70 |
void init_update_queries(void); |
|
71 |
||
72 |
bool dispatch_command(enum enum_server_command command, Session *session, |
|
73 |
char* packet, uint32_t packet_length); |
|
74 |
||
75 |
bool check_simple_select(); |
|
76 |
||
77 |
void mysql_init_select(LEX *lex); |
|
78 |
bool mysql_new_select(LEX *lex, bool move_down); |
|
79 |
||
1273.13.38
by Brian Aker
Add in new show work. |
80 |
int prepare_new_schema_table(Session *session, LEX *lex, |
81 |
const std::string& schema_table_name); |
|
82 |
||
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. |
83 |
Item * all_any_subquery_creator(Item *left_expr, |
84 |
chooser_compare_func_creator cmp, |
|
85 |
bool all, |
|
846
by Brian Aker
Removing on typedeffed class. |
86 |
Select_Lex *select_lex); |
575.4.7
by Monty Taylor
More header cleanup. |
87 |
|
1253.1.5
by Monty Taylor
These are either dead or don't belong there. |
88 |
char* query_table_status(Session *session,const char *db,const char *table_name); |
89 |
||
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
90 |
} /* namespace drizzled */ |
91 |
||
1122.2.10
by Monty Taylor
Fixed all of the include guards. |
92 |
#endif /* DRIZZLED_SQL_PARSE_H */ |