Bug #33660 Insert Editor: print bug on multi inserts
| Submitted: | 3 Jan 2008 16:58 | Modified: | 29 Jan 2008 20:38 |
|---|---|---|---|
| Reporter: | moi meme | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Workbench | Severity: | S3 (Non-critical) |
| Version: | 5.0.11b | OS: | Windows |
| Assigned to: | Johannes Taxacher | CPU Architecture: | Any |
| Tags: | inserts | ||
[3 Jan 2008 16:58]
moi meme
[4 Jan 2008 11:09]
MySQL Verification Team
Thank you for the bug report.
[5 Jan 2008 21:09]
Ian Carpenter
When adding multi line insert the the query does not execute correctly.. the query that is generated for multi line inserts is as follows:- INSERT INTO `project` (idproject, project_name, project_number) VALUES (0, 'Project 1', '1001'); INSERT INTO `project` (idproject, project_name, project_number) VALUES (0, 'Project 2', '1002'); INSERT INTO `project` (idproject, project_name, project_number) VALUES (0, 'Project 3', '1003'); Only the last line executes... One way arround this is for the query to be constructed like:- INSERT INTO `project` (idproject, project_name, project_number) VALUES (0, 'Project 1', '1001'), (0, 'Project 2', '1002'), (0, 'Project 3', '1003'); Ian...
[29 Jan 2008 20:38]
Johannes Taxacher
fixed in 5.0.12 SVN Rev 2468
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.