My database backup through mysqldump get created with wrong source SQL query for all database views. All source columns are always "1". I can export view definition using mysql workbench and the same db user just fine.
Here is example of view definition produced by mysqldump
DROP TABLE IF EXISTS `my_table_name`;
/*!50001 DROP VIEW IF EXISTS `my_table_name`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE VIEW `my_table_name` AS SELECT
1 AS `id`,
1 AS `col1`,
1 AS `col2`,
1 AS `col3`,
1 AS `col4`,
1 AS `col5`*/;
SET character_set_client = @saved_cs_client;
The same thing happens on Percona Server 5.6.12 and 5.6.25