25#include <drizzled/common.h>
26#include <drizzled/comp_creator.h>
27#include <drizzled/identifier.h>
29#include <drizzled/error_t.h>
34DRIZZLED_API const std::string& getCommandName(
const enum_server_command& command);
37bool insert_select_prepare(
Session*);
44bool check_identifier_name(str_ref, error_t err_code= EE_OK);
46bool check_string_byte_length(str_ref,
const char *err_msg, uint32_t max_byte_length);
47bool check_string_char_length(str_ref,
const char *err_msg, uint32_t max_char_length,
const charset_info_st*,
bool no_error);
49bool test_parse_for_slave(
Session*,
char *inBuf, uint32_t length);
51void reset_session_for_next_command(
Session*);
55void init_update_queries();
61void init_select(LEX*);
62bool new_select(LEX*,
bool move_down);
64int prepare_new_schema_table(
Session*, LEX&,
const std::string& schema_table_name);
67 chooser_compare_func_creator cmp,
69 Select_Lex *select_lex);
71char* query_table_status(
Session*,
const char *db,
const char *table_name);
void create_select_for_variable(Session *session, const char *var_name)
bool insert_precheck(Session *session, TableList *)
bool check_simple_select(Session *session)
bool update_precheck(Session *session, TableList *)
bool dispatch_command(enum_server_command command, Session &session, str_ref packet)
Item * negate_expression(Session *session, Item *expr)
Item * all_any_subquery_creator(Item *left_expr, chooser_compare_func_creator cmp, bool all, Select_Lex *select_lex)
TODO: Rename this file - func.h is stupid.
Visibility Control Macros.