diff options
author | unknown <monty@donna.mysql.com> | 2000-11-22 04:24:54 +0200 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2000-11-22 04:24:54 +0200 |
commit | 0016d9a393a04c02715dfdeb73d2d10fa9860056 (patch) | |
tree | 5cdcd57f1abf34e5c23602c7dc9c921516f17bd1 /sql/sql_update.cc | |
parent | b7aecfe7d23a2fdb2609f7cbad5943552b6cf143 (diff) | |
download | mariadb-git-0016d9a393a04c02715dfdeb73d2d10fa9860056.tar.gz |
Change storage of execution flags from thd->options to thd->lex.options
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r-- | sql/sql_update.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc index 41a1a9be7c2..709702142e1 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -102,7 +102,7 @@ int mysql_update(THD *thd,TABLE_LIST *table_list,List<Item> &fields, /* If running in safe sql mode, don't allow updates without keys */ if (!table->quick_keys) { - thd->options|=OPTION_NO_INDEX_USED; + thd->lex.options|=OPTION_NO_INDEX_USED; if ((thd->options & OPTION_SAFE_UPDATES) && limit == HA_POS_ERROR) { delete select; |