From dbadf93c3e237e1112b6941ef6fb9d49fc3d44c4 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 25 Feb 2007 00:31:26 +0100 Subject: log_on needed also in embedded server --- sql/sql_insert.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'sql/sql_insert.cc') diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index cd5f424fc14..613b28faf63 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -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"); -- cgit v1.2.1