1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Manual merge

This commit is contained in:
unknown
2010-06-27 13:51:45 +08:00
12 changed files with 606 additions and 21 deletions

View File

@ -472,6 +472,8 @@ typedef struct system_variables
my_bool sysdate_is_now;
double long_query_time_double;
LEX_USER current_user;
} SV;
@ -2715,6 +2717,10 @@ public:
}
void leave_locked_tables_mode();
int decide_logging_format(TABLE_LIST *tables);
void set_current_user_used() { current_user_used= TRUE; }
bool is_current_user_used() { return current_user_used; }
void clean_current_user_used() { current_user_used= FALSE; }
void get_definer(LEX_USER *definer);
private:
/** The current internal error handler for this thread, or NULL. */
@ -2737,6 +2743,8 @@ private:
MEM_ROOT main_mem_root;
Warning_info main_warning_info;
Diagnostics_area main_da;
bool current_user_used;
};