mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
log_on needed also in embedded server
This commit is contained in:
parent
c5abf08881
commit
dc8b4bacc5
1 changed files with 0 additions and 2 deletions
|
@ -381,11 +381,9 @@ bool mysql_insert(THD *thd,TABLE_LIST *table_list,
|
|||
List_item *values;
|
||||
Name_resolution_context *context;
|
||||
Name_resolution_context_state ctx_state;
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
char *query= thd->query;
|
||||
bool log_on= (thd->options & OPTION_BIN_LOG) ||
|
||||
(!(thd->security_ctx->master_access & SUPER_ACL));
|
||||
#endif
|
||||
thr_lock_type lock_type = table_list->lock_type;
|
||||
Item *unused_conds= 0;
|
||||
DBUG_ENTER("mysql_insert");
|
||||
|
|
Loading…
Reference in a new issue