Bug #31343 | mysqldump extended insert: put newlines between records | ||
---|---|---|---|
Submitted: | 2 Oct 2007 13:56 | Modified: | 20 Jul 2009 20:51 |
Reporter: | Alex W | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: mysqldump Command-line Client | Severity: | S4 (Feature request) |
Version: | mysqldump Ver 10.11 Distrib 5.0.45 | OS: | Windows |
Assigned to: | CPU Architecture: | Any | |
Tags: | mysqldump, newline, source control |
[2 Oct 2007 13:56]
Alex W
[20 Jul 2009 20:37]
Sveta Smirnova
Thank you for the reasonable feature request. If I understood correctly you want output looks like: ... -- -- Dumping data for table `t` -- LOCK TABLES `t` WRITE; /*!40000 ALTER TABLE `t` DISABLE KEYS */; INSERT INTO `t` VALUES (23) ,(42) ,(42) ,(33) ; /*!40000 ALTER TABLE `t` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; ...
[20 Jul 2009 20:51]
Alex W
Sveta - thanks, that's exactly what we need. Spasibo!
[9 Jul 2010 6:46]
d m
I would like to add to this feature request. Mysqldump is being used by mysql workbench and this output format for extended insert valueless is much more useful/sensible especially when dumping large tables. Also see here http://bugs.mysql.com/bug.php?id=55007. Thanks for your attention. David Marten
[9 Jul 2010 16:45]
d m
Sorry, above it is meant to say 'Values List' instead of 'valueless' - I posted from my phone and the auto-correct obviously did something clever.
[2 May 2011 23:34]
Tim Riker
See duplicate request in Bug #4328 and comments there.
[22 Mar 2013 23:39]
Jamie Jackson
Similar: Bug #55007, Bug #65465