summaryrefslogtreecommitdiff
path: root/sql/sql_insert.cc
diff options
context:
space:
mode:
authorrafal@quant.(none) <>2007-03-01 08:47:49 +0100
committerrafal@quant.(none) <>2007-03-01 08:47:49 +0100
commitdc6e9d7fc31a0c1d61ddd7f75160f76596f145d6 (patch)
treeebb31398bb46bdcde6b80deaed5d8502c564f9b1 /sql/sql_insert.cc
parent08d22030777888193fa437d237e684dd3481c6e8 (diff)
parent8aee1f6e8963e758f3db5596f9c4fdfacee717d7 (diff)
downloadmariadb-git-dc6e9d7fc31a0c1d61ddd7f75160f76596f145d6.tar.gz
Merge quant.(none):/ext/mysql/bkroot/mysql-5.0-rpl
into quant.(none):/ext/mysql/bk/mysql-5.0-rpl-warnings
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r--sql/sql_insert.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc
index 9b862219739..c7eb68ede07 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -381,7 +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;
+#endif
bool log_on= (thd->options & OPTION_BIN_LOG) ||
(!(thd->security_ctx->master_access & SUPER_ACL));
thr_lock_type lock_type = table_list->lock_type;