Comment 9 for bug 1218664

Revision history for this message
George Ormond Lorch III (gl-az) wrote :

As discussed on IRC and merge comments:

The core problem is that the enforcement is being applied at times when it shouldn't, i.e. when system tables are being ALTERED. The only time system tables should be CREATED or ALTERED is either during initial db install or upgrade. Selective filtering based on various info bits such as schema name or table category all introduce different complications and result in a less secure feature or leave the core issue remaining. The correct way to handle this is to disable enforcement during bootstrapping and upgrade times. Since mysql_upgrade generally must be called with --skip-grant-tables, we will disable enforcement any time --bootstrap or --skip-grants-tables is used.