#At file:///home/spetrunia/dev/mysql-6.0-bka-preview/ based on
revid:sergefp@stripped
2680 Sergey Petrunia 2008-12-15
Fix (harmless) valgrind failure: check found_records before touching found_read_time
modified:
sql/opt_range.cc
per-file messages:
sql/opt_range.cc
Fix (harmless) valgrind failure: check found_records before touching found_read_time
=== modified file 'sql/opt_range.cc'
--- a/sql/opt_range.cc 2008-12-13 11:02:16 +0000
+++ b/sql/opt_range.cc 2008-12-15 19:06:26 +0000
@@ -4827,7 +4827,7 @@ static TRP_RANGE *get_key_scans_params(P
tree->n_ror_scans++;
tree->ror_scans_map.set_bit(idx);
}
- if (read_time > found_read_time && found_records != HA_POS_ERROR)
+ if (found_records != HA_POS_ERROR && read_time > found_read_time)
{
read_time= found_read_time;
best_records= found_records;
| Thread |
|---|
| • bzr commit into mysql-6.0-bka-preview branch (sergefp:2680) | Sergey Petrunia | 15 Dec |