1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Change storage of execution flags from thd->options to thd->lex.options

This commit is contained in:
unknown
2000-11-22 04:24:54 +02:00
parent b7aecfe7d2
commit 0016d9a393
4 changed files with 8 additions and 7 deletions

View File

@ -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;