Bug #30020 | Wrong IS_UPDATABLE value in I_S.VIEWS for a non updatable view (regression) | ||
---|---|---|---|
Submitted: | 24 Jul 2007 23:02 | Modified: | 3 Aug 2007 15:52 |
Reporter: | Omer Barnir (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Information schema | Severity: | S3 (Non-critical) |
Version: | 5.0.46 | OS: | Any |
Assigned to: | Evgeny Potemkin | CPU Architecture: | Any |
[24 Jul 2007 23:02]
Omer Barnir
[28 Jul 2007 12:06]
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/31763 ChangeSet@1.2483, 2007-07-28 16:02:29+04:00, evgen@moonbone.local +3 -0 Bug#30020: Insufficient check led to a wrong info provided by the information schema table. The get_schema_views_record() function fills records in the view table of the informations schema with data about given views. Among other info the is_updatable flag is set. But the check whether the view is updatable or not wasn't covering all cases thus sometimes providing wrong info. This might led to a user confusion. Now the get_schema_views_record function additionally calls to the view->can_be_merge() function to find out whether the view can be updated or not.
[2 Aug 2007 19:12]
Bugs System
Pushed into 5.1.21-beta
[2 Aug 2007 19:15]
Bugs System
Pushed into 5.0.48
[3 Aug 2007 15:52]
Paul DuBois
Noted in 5.0.48, 5.1.21 changelogs. The IS_UPDATABLE column in the INFORMATION_SCHEMA.VIEWS table was not always set correctly.