diff options
author | unknown <bell@laptop.sanja.is.com.ua> | 2003-10-07 16:26:46 +0300 |
---|---|---|
committer | unknown <bell@laptop.sanja.is.com.ua> | 2003-10-07 16:26:46 +0300 |
commit | d1ab51eb947623f45a8314cb9c0b6ddc15f0d148 (patch) | |
tree | cba3c17cb3ca5d7f4f75504721c8ed3401f9b3c5 | |
parent | fae46f7c9f1be65c5bf5604cd1f91dea3c8be9c7 (diff) | |
download | mariadb-git-d1ab51eb947623f45a8314cb9c0b6ddc15f0d148.tar.gz |
fixed error detection
-rw-r--r-- | sql/item_subselect.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc index 3070fb43b27..fd024daca08 100644 --- a/sql/item_subselect.cc +++ b/sql/item_subselect.cc @@ -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; } } |