| Bug #12796 | key on MEMORY table fails to find row | ||
|---|---|---|---|
| Submitted: | 25 Aug 2005 6:35 | Modified: | 2 Feb 2006 13:34 | 
| Reporter: | Timothy Smith | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S2 (Serious) | 
| Version: | 4.1.14 | OS: | Any (any) | 
| Assigned to: | Mikael Ronström | CPU Architecture: | Any | 
   [25 Aug 2005 6:35]
   Timothy Smith        
  
 
   [25 Aug 2005 6:51]
   Timothy Smith        
  It may be helpful to have this simpler test case: drop table if exists t1; create table t1 (id int, key (id)) engine=heap; insert delayed into t1 values (0); delete from t1; -- If this is taken out, the bug doesn't show up select * from t1; insert delayed into t1 values (0), (1); -- This returns the empty set select * from t1 where id = 0;
   [24 Nov 2005 12:12]
   Bugs System        
  A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/32667
   [30 Jan 2006 20:12]
   Mikael Ronström        
  The fix for this will appear in 4.1.19 It has some slight change of behaviour in some sequences when previously it could choose both the hash and btree index dependent on which was first defined whereas in those situations it will now always select the btree since the btree knows it is only in record in range whereas the hash can only provide that as an estimate.
   [2 Feb 2006 13:34]
   Jon Stephens        
  Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.
If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html
Additional info:
Documented in 4.1.19 changelog. Closed.
Updated synopsis to reflect the fact that we now refer to the table handler in question as MEMORY.
 