1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

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

This commit is contained in:
monty@donna.mysql.com
2000-11-22 04:24:54 +02:00
parent 1ce0e50f4c
commit f4df5cd264
4 changed files with 8 additions and 7 deletions

View File

@@ -175,7 +175,7 @@ int mysql_delete(THD *thd,TABLE_LIST *table_list,COND *conds,ha_rows limit,
/* 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;