Bug #1850 | mysqldump: foreign keys issue [order, import, constraints, circular] | ||
---|---|---|---|
Submitted: | 16 Nov 2003 8:40 | Modified: | 17 Nov 2003 1:41 |
Reporter: | Jason Pyeron | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S4 (Feature request) |
Version: | 4.0.16 | OS: | Linux (RedHat 9 / Win2k (ANY)) |
Assigned to: | CPU Architecture: | Any |
[16 Nov 2003 8:40]
Jason Pyeron
[17 Nov 2003 1:41]
Sergei Golubchik
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html it's done in 4.1 (will be in 4.1.1) more precisely mysqldump now prepends the dump with /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE=NO_AUTO_VALUE_ON_ZERO */; and restores old values at the end of the dump - just in case somebody will load the dump with "source" command of mysql command-line client.