Bug #47500 | valgrind reports "invalid read" for the grant test | ||
---|---|---|---|
Submitted: | 22 Sep 2009 0:14 | Modified: | 22 Sep 2009 14:29 |
Reporter: | Mark Callaghan | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Tests | Severity: | S7 (Test Cases) |
Version: | 5.0.84 | OS: | Any (CentOS 5This is ) |
Assigned to: | CPU Architecture: | Any | |
Tags: | grant, invalid, read, test, valgrind |
[22 Sep 2009 0:14]
Mark Callaghan
[22 Sep 2009 2:23]
Mark Callaghan
The valgrind warnings occurs from line 218 of mysql-test/t/grant.test # # Bug#3403 Wrong encoding in SHOW GRANTS, EXPLAIN SELECT output # SET NAMES koi8r; CREATE DATABASE ÂÄ; USE ÂÄ; CREATE TABLE ÔÁÂ (ËÏÌ INT); GRANT SELECT ON ÂÄ.* TO ÀÚÅÒ@localhost; SHOW GRANTS FOR ÀÚÅÒ@localhost; REVOKE SELECT ON ÂÄ.* FROM ÀÚÅÒ@localhost; GRANT SELECT ON ÂÄ.ÔÁÂ TO ÀÚÅÒ@localhost; <--- valgrind warning from this
[22 Sep 2009 6:25]
Sveta Smirnova
Thank you for the report. I can not repeat described behavior nor with current development sources, neither with 5.0.85 although bug is repeatable with version 5.0.84. Please upgrade.
[22 Sep 2009 14:29]
Mark Callaghan
My guess is that this bug was fixed by: http://bugs.mysql.com/bug.php?id=45010