Bug #68157 | mysqldump misinterprets a view definition | ||
---|---|---|---|
Submitted: | 23 Jan 2013 17:21 | Modified: | 23 Jan 2013 18:40 |
Reporter: | Mikael Hakman | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Backup | Severity: | S1 (Critical) |
Version: | 5.5.19 | OS: | Windows (8) |
Assigned to: | CPU Architecture: | Any |
[23 Jan 2013 17:21]
Mikael Hakman
[23 Jan 2013 17:43]
Mikael Hakman
If I edit the dump fie and put quotation correctly as in: `amount' + (select -min('amount') Then mysql still interprets the whole expression as column name and gives me the same error. If you look at the original view definition and compare it to what dump file says then you discover that the whole definition has been misinterpreted. There is no AS in: select 3, 'Balance', amount + (select -min(amount) from cbalance ) from cbalance where tdate = (select max(tdate) from cbalance ) But in the dump file there is. I can send you the dump file if you need it. Thanks.
[23 Jan 2013 18:40]
Sveta Smirnova
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the original bug instead. Thank you for your interest in MySQL. This is duplicate of bug #65388. Please wait when version 5.7 is released.