Bug #2900 | mysqldump 10.2 ignoring given parameters | ||
---|---|---|---|
Submitted: | 20 Feb 2004 1:39 | Modified: | 9 Mar 2004 3:13 |
Reporter: | Tite | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: mysqldump Command-line Client | Severity: | S2 (Serious) |
Version: | 4.1.1 | OS: | pc-linux (i686) |
Assigned to: | Sergei Glukhov | CPU Architecture: | Any |
[20 Feb 2004 1:39]
Tite
[20 Feb 2004 3:43]
Sergei Golubchik
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.mysql.com/documentation/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Additional info: /*!40014' and '/*!40000 are 3.23 compatible. Try them on 3.23 server - you'll get no error. As for other issues: %mysqldump --help ... --opt Same as --add-drop-table --add-locks --all --quick --extended-insert --lock-tables --disable-keys. Enabled by default, disable with --skip-opt. ... As you see, --opt is ON in 4.1 by default, while it was OFF by default on 4.0 and earlier.
[20 Feb 2004 8:28]
Tite
Thank you. I ran through the --opt switch, but I didn't pay enough attention. Still, the --compatible=mysql323 doesn't produce an output compatible with 3.23.32. I get the following: ERROR 1064 at line 13: You have an error in your SQL syntax near 'DEFAULT CHARSET=latin1' at line 11 from line : ) TYPE=MyISAM DEFAULT CHARSET=latin1; also, the /*40014 /*!40101 raise the following on mysql 3.23.32: ERROR 1065 at line 6: Query was empty
[21 Feb 2004 7:01]
Sergei Golubchik
as for "empty query" it was fixed in 3.23.50. CHARSET in 3.23-compatible mode is a bug, agree. (it's server bug in SHOW CREATE TABLE)
[9 Mar 2004 3:12]
Sergei Glukhov
It was checked on latest 4.1 tree. Result of mysqldump with '-compatible=mysql323' option is correct.