diff options
author | monty@narttu.mysql.fi <> | 2003-10-07 14:04:59 +0300 |
---|---|---|
committer | monty@narttu.mysql.fi <> | 2003-10-07 14:04:59 +0300 |
commit | 0091fa2e3266da6a17b0615a4696c25a4d36d664 (patch) | |
tree | 6506f89aa856cbcc4c2d819482054b6ee6d80620 | |
parent | 4b491cb78830d898a761e67f9cb9e1e109fb07ab (diff) | |
download | mariadb-git-0091fa2e3266da6a17b0615a4696c25a4d36d664.tar.gz |
Fixed bug in sub select after last merge
-rw-r--r-- | sql/item_subselect.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc index 937d6f61913..0f0ad2e0765 100644 --- a/sql/item_subselect.cc +++ b/sql/item_subselect.cc @@ -1098,7 +1098,11 @@ int subselect_indexsubquery_engine::exec() null_finding= 1; /* Check if there exists a row with a null value in the index */ if ((error= safe_index_read(tab))) + { + if (error < 0) + error= 0; // Key not found break; + } } } } |