Below is the list of changes that have just been committed into a local
5.1 repository of . When does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2160 06/03/09 14:27:57 reggie@big_geek. +1 -0
Bug #17173 Partitions: less-than search fails
The problem was that for queries such as field < n, the first call to
store_key_image_to_rec would work properly setting the field to null.
However, on the second call where it should set the non-null value, it would
not clear the nullness of the field so when val_int() is called on the
field later, it would return null yet again.
sql/opt_range.cc
1.206 06/03/09 14:27:48 reggie@big_geek. +1 -0
set field to not null in the case that the field might be null but is not.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: reggie
# Host: big_geek.
# Root: C:/Work/mysql/mysql-5.1
--- 1.205/sql/opt_range.cc 2006-02-25 12:35:08 -06:00
+++ 1.206/sql/opt_range.cc 2006-03-09 14:27:48 -06:00
@@ -2430,6 +2430,7 @@
field->set_null();
return;
}
+ field->set_notnull();
ptr++;
}
field->set_key_image(ptr, len);
| Thread |
|---|
| • bk commit into 5.1 tree (reggie:1.2160) BUG#17173 | reggie | 9 Mar |