Bug #24403 valgrind complained on uninited st_table, rbr + innodb
| Submitted: | 17 Nov 2006 18:45 | Modified: | 22 Nov 2006 8:41 |
|---|---|---|---|
| Reporter: | Andrei Elkin | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 5.1.14 | OS: | Linux (Linux) |
| Assigned to: | Andrei Elkin | CPU Architecture: | Any |
[17 Nov 2006 18:45]
Andrei Elkin
[17 Nov 2006 18:49]
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/15515 ChangeSet@1.2367, 2006-11-17 21:47:40+02:00, aelkin@dsl-hkibras-fe30f900-107.dhcp.inet.fi +1 -0 Bug #24403 valgrind complained on uninited st_table, rbr + innodb open_table_from_share did not initialize table->record members. that was interpreted as the error by valgrind. Fixed with bzero-ing the members if compilation with -DHAVE_purify.
[17 Nov 2006 20:46]
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/15525 ChangeSet@1.2367, 2006-11-17 23:44:14+02:00, aelkin@dsl-hkibras-fe30f900-107.dhcp.inet.fi +1 -0 Bug #24403 valgrind complained on uninited st_table, rbr + innodb open_table_from_share did not initialize table->record members. that was interpreted as the error by valgrind. Fixed with bzero-ing the members if compilation with -DHAVE_purify.
[20 Nov 2006 20:28]
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/15575 ChangeSet@1.2367, 2006-11-20 21:27:39+01:00, mats@romeo.(none) +1 -0 BUG#24403 (valgrind complained on uninited st_table for InnoDB and RBR): Fix to correct behaviour of find_and_fetch_row() for tables that have primary keys stored in storage engines that support the fast method to fetch rows given a primary key. The method uses position() to retrieve the key for a given record and rnd_pos() to position the internal "cursor" at the row. Rnd_pos() returns the found record in table->record[0], so the record has to be moved to table->record[1] for further processing after calling find_and_fetch_row().
[21 Nov 2006 12:58]
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/15622 ChangeSet@1.2370, 2006-11-21 13:57:52+01:00, mats@romeo.(none) +3 -0 BUG#24403 (valgrind complaint on uninited st_table for innodb + rbr): Removing DBUG_DUMP printouts for valgrind builds since they trigger warnings. Removing valgrind memory checks completely. Removing bzero() of record when opening table that was added earlier.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.059 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.