diff options
author | Mattias Jonsson <mattias.jonsson@oracle.com> | 2010-10-15 09:27:28 +0200 |
---|---|---|
committer | Mattias Jonsson <mattias.jonsson@oracle.com> | 2010-10-15 09:27:28 +0200 |
commit | 2234783085de0865192c5a30af89cb20643c6322 (patch) | |
tree | f4cf68033c8b89a8a60fbbabd57d835f0c807ca7 /sql | |
parent | b001a5224d8b26e9706a386ca2c26320d152ee1c (diff) | |
parent | 428f0bdefbf866f0a9939e4153393b1e4b8a1a82 (diff) | |
download | mariadb-git-2234783085de0865192c5a30af89cb20643c6322.tar.gz |
merge
Diffstat (limited to 'sql')
-rw-r--r-- | sql/ha_partition.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index 24c0f3e71f2..d94dc263b48 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -4502,6 +4502,7 @@ int ha_partition::partition_scan_set_up(uchar * buf, bool idx_read_flag) key not found. */ DBUG_PRINT("info", ("scan with no partition to scan")); + table->status= STATUS_NOT_FOUND; DBUG_RETURN(HA_ERR_END_OF_FILE); } if (m_part_spec.start_part == m_part_spec.end_part) @@ -4526,6 +4527,7 @@ int ha_partition::partition_scan_set_up(uchar * buf, bool idx_read_flag) if (start_part == MY_BIT_NONE) { DBUG_PRINT("info", ("scan with no partition to scan")); + table->status= STATUS_NOT_FOUND; DBUG_RETURN(HA_ERR_END_OF_FILE); } if (start_part > m_part_spec.start_part) |