~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.h

  • Committer: Brian Aker
  • Date: 2010-12-31 02:23:39 UTC
  • mto: (2054.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2049.
  • Revision ID: brian@tangent.org-20101231022339-g07ztt32wdwqdz46
Make it so that tables are sent not as raw but actual drop table commands to
the replication system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
extern const LEX_STRING command_name[];
43
43
 
44
44
bool execute_sqlcom_select(Session *session, TableList *all_tables);
45
 
bool mysql_insert_select_prepare(Session *session);
 
45
bool insert_select_prepare(Session *session);
46
46
bool update_precheck(Session *session, TableList *tables);
47
47
bool delete_precheck(Session *session, TableList *tables);
48
48
bool insert_precheck(Session *session, TableList *tables);
60
60
                              bool no_error);
61
61
 
62
62
 
63
 
bool mysql_test_parse_for_slave(Session *session, char *inBuf,
 
63
bool test_parse_for_slave(Session *session, char *inBuf,
64
64
                                uint32_t length);
65
65
 
66
 
void mysql_reset_session_for_next_command(Session *session);
 
66
void reset_session_for_next_command(Session *session);
67
67
 
68
68
void create_select_for_variable(const char *var_name);
69
69
 
74
74
 
75
75
bool check_simple_select();
76
76
 
77
 
void mysql_init_select(LEX *lex);
78
 
bool mysql_new_select(LEX *lex, bool move_down);
 
77
void init_select(LEX *lex);
 
78
bool new_select(LEX *lex, bool move_down);
79
79
 
80
80
int prepare_new_schema_table(Session *session, LEX *lex,
81
81
                             const std::string& schema_table_name);