Bug #22937 | Valgrind failure in 'merge' test (ha_myisammrg.cc:329) | ||
---|---|---|---|
Submitted: | 3 Oct 2006 13:36 | Modified: | 10 Oct 2006 18:41 |
Reporter: | Lars Thalmann | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0 soruce | OS: | |
Assigned to: | Sergey Vojtovich | CPU Architecture: | Any |
[3 Oct 2006 13:36]
Lars Thalmann
[5 Oct 2006 11:47]
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/commits/13106 ChangeSet@1.2556, 2006-10-05 16:49:23+05:00, svoj@mysql.com +3 -0 BUG#22937 - Valgrind failure in 'merge' test (ha_myisammrg.cc:329) This is addition to fix for bug21617. Valgrind reports an error when opening merge table that has underlying tables with less indexes than in a merge table itself. For each subtable check if number of keys is less than in merge table. Return an error and refuse to open merge table in this case.
[6 Oct 2006 4:10]
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/commits/13214 ChangeSet@1.2556, 2006-10-06 09:12:40+05:00, svoj@mysql.com +1 -0 BUG#22937 - Valgrind failure in 'merge' test (ha_myisammrg.cc:329) This is addition to fix for bug21617. Valgrind reports an error when opening merge table that has underlying tables with less indexes than in a merge table itself. Copy at most min(file->keys, table->key_parts) elements from rec_per_key array. This fixes problems when merge table and subtables have different number of keys.
[6 Oct 2006 10:15]
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/commits/13232 ChangeSet@1.2556, 2006-10-06 15:17:42+05:00, svoj@mysql.com +1 -0 BUG#22937 - Valgrind failure in 'merge' test (ha_myisammrg.cc:329) This is addition to fix for bug21617. Valgrind reports an error when opening merge table that has underlying tables with less indexes than in a merge table itself. Copy at most min(file->keys, table->key_parts) elements from rec_per_key array. This fixes problems when merge table and subtables have different number of keys.
[9 Oct 2006 11:24]
Sergey Vojtovich
Fixed in 4.1.22, 5.0.27, 5.1.12.
[10 Oct 2006 18:41]
Paul DuBois
Noted in 4.1.22, 5.0.27, 5.1.12 changelogs.
[25 Oct 2006 16:41]
Paul DuBois
The 5.0.x fix is in 5.0.30.