Commit d1ab51eb authored by unknown's avatar unknown

fixed error detection

parent fae46f7c
......@@ -1094,7 +1094,7 @@ int subselect_indexsubquery_engine::exec()
*tab->null_ref_key= 1;
null_finding= 1;
/* Check if there exists a row with a null value in the index */
if ((error= safe_index_read(tab)))
if ((error= (safe_index_read(tab) == 1)))
break;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment