25 #include <drizzled/common.h>
26 #include <drizzled/comp_creator.h>
27 #include <drizzled/identifier.h>
29 #include <drizzled/error_t.h>
34 DRIZZLED_API const std::string& getCommandName(
const enum_server_command& command);
36 bool execute_sqlcom_select(Session*, TableList *all_tables);
37 bool insert_select_prepare(Session*);
39 bool delete_precheck(Session*, TableList *tables);
44 bool check_identifier_name(
str_ref, error_t err_code= EE_OK);
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);
49 bool test_parse_for_slave(Session*,
char *inBuf, uint32_t length);
51 void reset_session_for_next_command(Session*);
55 void init_update_queries();
57 bool dispatch_command(enum_server_command command, Session*,
const char* packet, uint32_t packet_length);
61 void init_select(LEX*);
62 bool new_select(LEX*,
bool move_down);
64 int prepare_new_schema_table(Session*, LEX&,
const std::string& schema_table_name);
67 chooser_compare_func_creator cmp,
69 Select_Lex *select_lex);
71 char* query_table_status(Session*,
const char *db,
const char *table_name);