Bug #20715 | view migration fails | ||
---|---|---|---|
Submitted: | 27 Jun 2006 8:26 | Modified: | 29 Jun 2006 16:16 |
Reporter: | Anthony Watts | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Migration Toolkit | Severity: | S2 (Serious) |
Version: | 1.0.25 | OS: | Windows (win xp) |
Assigned to: | CPU Architecture: | Any |
[27 Jun 2006 8:26]
Anthony Watts
[27 Jun 2006 13:13]
Valeriy Kravchuk
Thank you for a bug report. Verified just as described, on a database with 2 table and 2 views. Even simplest CREATE VIEW v1 AS SELECT 1; is enough to get migration problems. The following statement is generated: CREATE OR REPLACE VIEW `test2`.`v1` AS CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select 1 AS `1`; While something like: CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select 1 AS `1`; is needed: mysql> CREATE -> ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select 1 AS `1`; Query OK, 0 rows affected (0.00 sec) It is a bug.
[29 Jun 2006 16:16]
Michael G. Zinner
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html