Bug #43528 | Column Filtering Interface | ||
---|---|---|---|
Submitted: | 10 Mar 2009 6:37 | Modified: | 12 Mar 2009 17:32 |
Reporter: | Mikiya Okuno | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Storage Engine API | Severity: | S4 (Feature request) |
Version: | any | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[10 Mar 2009 6:37]
Mikiya Okuno
[10 Mar 2009 6:49]
MySQL Verification Team
Whether a filter is used or not is left for storage engine implementations. In other words, a filter is set by an optimizer, and a storage engine can refer to the filter, and the storage engine may make use of a filter or may ignore it depending on its implementation. A storage engine can set NULL to unrelated columns when a filter is set.
[10 Mar 2009 6:59]
MySQL Verification Team
I missed a few words: o A storage engine can set NULL to unrelated columns if a filter is set when reading from a table. o A storage engine can ignore unrelated columns if a filter is set when updating a table.
[12 Mar 2009 17:32]
Sergei Golubchik
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/ See in 5.1 TABLE::read_set and TABLE::write_set, and how they are used in, for example, NDB and InnoDB.