Bug #80817 | mysqldump outputs incorrect table case for triggers | ||
---|---|---|---|
Submitted: | 22 Mar 2016 6:03 | Modified: | 12 Jun 2016 7:03 |
Reporter: | Mike Lewis | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: mysqldump Command-line Client | Severity: | S3 (Non-critical) |
Version: | 5.6 | OS: | MacOS (10.11.3) |
Assigned to: | CPU Architecture: | Any |
[22 Mar 2016 6:03]
Mike Lewis
[12 May 2016 7:03]
MySQL Verification Team
Hello Mike, Thank you for the report. I'm not seeing this issue at my end(Mac OS X 10.11.3, MySQL 5.6.30) with the exact repeatable steps. Could you please pass on exact test case to see if this is repeatable at our end? -- umshastr:mysql-5.6.30 umshastr$ bin/mysql -uroot -S data/mysql_ushastry.sock Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.6.30 MySQL Community Server (GPL) Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> show variables like 'lower_case%'; +------------------------+-------+ | Variable_name | Value | +------------------------+-------+ | lower_case_file_system | ON | | lower_case_table_names | 2 | +------------------------+-------+ 2 rows in set (0.00 sec) mysql> use test Database changed mysql> CREATE TABLE AccountTable (acct_num INT, amount DECIMAL(10,2)); Query OK, 0 rows affected (0.14 sec) mysql> CREATE TRIGGER TriggerName BEFORE INSERT ON AccountTable FOR EACH ROW SET @sum = @sum + NEW.amount; Query OK, 0 rows affected (0.35 sec) mysql> \q Bye umshastr:mysql-5.6.30 umshastr$ bin/mysqldump -uroot -S data/mysql_ushastry.sock --databases test > dmp.sql -- dump file has -- -- Table structure for table `AccountTable` -- DROP TABLE IF EXISTS `AccountTable`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `AccountTable` ( `acct_num` int(11) DEFAULT NULL, `amount` decimal(10,2) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `AccountTable` -- LOCK TABLES `AccountTable` WRITE; /*!40000 ALTER TABLE `AccountTable` DISABLE KEYS */; /*!40000 ALTER TABLE `AccountTable` ENABLE KEYS */; UNLOCK TABLES; DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER TriggerName BEFORE INSERT ON AccountTable FOR EACH ROW SET @sum = @sum + NEW.amount */;; DELIMITER ; Thanks, Umesh
[13 Jun 2016 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".