Bug #13008 | SQL Dump made with mysqldump can not be imported | ||
---|---|---|---|
Submitted: | 6 Sep 2005 9:52 | Modified: | 19 Sep 2005 18:57 |
Reporter: | Alex Koval | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S1 (Critical) |
Version: | 4.0.25-r2, 4.0.24, possible others | OS: | Linux (Gentoo Linux) |
Assigned to: | Bugs System | CPU Architecture: | Any |
[6 Sep 2005 9:52]
Alex Koval
[6 Sep 2005 18:41]
Jorge del Conde
Thanks for your bug report: root-/usr/local# mysqldump test disco-items -- MySQL dump 9.11 -- -- Host: localhost Database: test -- ------------------------------------------------------ -- Server version 4.0.25 -- -- Table structure for table `disco-items` -- CREATE TABLE disco-items ( collection-owner text NOT NULL, object-sequence bigint(20) NOT NULL auto_increment, jid text, name text, node text, KEY object-sequence (object-sequence) ) TYPE=MyISAM; -- -- Dumping data for table `disco-items` -- root-/usr/local#
[6 Sep 2005 18:41]
Jorge del Conde
Verified using FC4
[6 Sep 2005 21:14]
Hartmut Holzgraefe
not a bug IMHO, the "-Q" / "--quote-names" just isn't on by default in 4.0s mysqldump
[7 Sep 2005 4:34]
Alex Koval
> not a bug IMHO, the "-Q" / "--quote-names" just isn't on by default in > 4.0s mysqldump Ah, then OK. I were looking for such flag and did not catched it at first glance. If it is possible to make mysqldump working, then we can switch this bug as being resolved. What made me confused is that table names in comments, in drop-table syntax were quoted by default, even with -Q/quote-names being OFF by default. But if this is not a bug, please close this entry. I've managed to transfer databases now, by adding -Q to the mysqldump. Thank you for this tip.
[7 Sep 2005 10:45]
Jonathan Miller
"drop-table syntax was quoted by default" We should be consistent in our approach.
[19 Sep 2005 18:54]
Patrick Galbraith
I'll fix this, but a 4.0 release isn't due until 2005-11-02
[19 Sep 2005 18:57]
Patrick Galbraith
Just recieved word that this particular behaviour is documented, so I won't change it.