~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.h

  • Committer: Brian Aker
  • Date: 2008-10-20 04:28:21 UTC
  • mto: (492.3.21 drizzle-clean-code)
  • mto: This revision was merged to the branch mainline in revision 530.
  • Revision ID: brian@tangent.org-20081020042821-rqqdrccuu8195k3y
Second pass of thd cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLE_SERVER_SQL_PARSE_H
21
21
#define DRIZZLE_SERVER_SQL_PARSE_H
22
22
 
23
 
bool begin_trans(Session *thd);
24
 
bool end_active_trans(Session *thd);
25
 
int end_trans(Session *thd, enum enum_mysql_completiontype completion);
 
23
bool begin_trans(Session *session);
 
24
bool end_active_trans(Session *session);
 
25
int end_trans(Session *session, enum enum_mysql_completiontype completion);
26
26
 
27
 
bool execute_sqlcom_select(Session *thd, TableList *all_tables);
28
 
bool multi_update_precheck(Session *thd, TableList *tables);
29
 
bool multi_delete_precheck(Session *thd, TableList *tables);
30
 
int mysql_multi_update_prepare(Session *thd);
31
 
int mysql_multi_delete_prepare(Session *thd);
32
 
bool mysql_insert_select_prepare(Session *thd);
33
 
bool update_precheck(Session *thd, TableList *tables);
34
 
bool delete_precheck(Session *thd, TableList *tables);
35
 
bool insert_precheck(Session *thd, TableList *tables);
36
 
bool create_table_precheck(Session *thd, TableList *tables,
 
27
bool execute_sqlcom_select(Session *session, TableList *all_tables);
 
28
bool multi_update_precheck(Session *session, TableList *tables);
 
29
bool multi_delete_precheck(Session *session, TableList *tables);
 
30
int mysql_multi_update_prepare(Session *session);
 
31
int mysql_multi_delete_prepare(Session *session);
 
32
bool mysql_insert_select_prepare(Session *session);
 
33
bool update_precheck(Session *session, TableList *tables);
 
34
bool delete_precheck(Session *session, TableList *tables);
 
35
bool insert_precheck(Session *session, TableList *tables);
 
36
bool create_table_precheck(Session *session, TableList *tables,
37
37
                           TableList *create_table);
38
 
bool parse_sql(Session *thd, class Lex_input_stream *lip);
 
38
bool parse_sql(Session *session, class Lex_input_stream *lip);
39
39
 
40
 
Item *negate_expression(Session *thd, Item *expr);
 
40
Item *negate_expression(Session *session, Item *expr);
41
41
 
42
42
bool test_if_data_home_dir(const char *dir);
43
43