[MDEV-6689] valgrind errors in view.test in 10.1 Created: 2014-09-03 Updated: 2014-09-04 Resolved: 2014-09-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.1.1 |
| Fix Version/s: | 10.1.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Filing based on discussion with monty. This is a different problem than The errors look like this:
minimal testcase:
|
| Comments |
| Comment by Sergei Petrunia [ 2014-09-03 ] | ||||||||||
|
If I take the testcase and replace
with its more verbose form
then the error goes away. Maybe, SHOW COLUMNS takes some shortcuts and doesn't set the value? I've rang SHOW COLUMNS under gdb and attempted to catch writes to the data that save_explain_data() does invalid read from. No success... | ||||||||||
| Comment by Sergei Petrunia [ 2014-09-03 ] | ||||||||||
|
static bool optimize_for_get_all_tables(THD *thd, TABLE_LIST *tables, COND *cond) there is this code:
lookup_field_vals is never set. | ||||||||||
| Comment by Sergei Petrunia [ 2014-09-03 ] | ||||||||||
|
Maybe, we should not attempt to save explain data structures for SHOW FIELDS and SHOW INDEXES commands. |