23 #include <drizzled/session.h>
24 #include <drizzled/statement/set_option.h>
25 #include <drizzled/sql_lex.h>
30 SetOption::SetOption(Session *in_session) :
34 set_command(SQLCOM_SET_OPTION);
36 lex().option_type= OPT_SESSION;
37 lex().var_list.empty();
43 TableList *all_tables= lex().query_tables;
45 if (session().openTablesLock(all_tables))
57 if (! session().is_error())
59 my_error(ER_WRONG_ARGUMENTS, MYF(0),
"SET");
void my_ok(ha_rows affected_rows=0, ha_rows found_rows_arg=0, uint64_t passed_id=0, const char *message=NULL)
int sql_set_variables(Session *session, const SetVarVector &var_list)
TODO: Rename this file - func.h is stupid.