| Bug #9922 | INSERT SELECT with UNIONs allows illegal concurrent INSERTs | ||
|---|---|---|---|
| Submitted: | 15 Apr 2005 7:10 | Modified: | 16 Apr 2005 18:56 |
| Reporter: | Lachlan Mulcahy | ||
| Status: | Closed | ||
| Category: | Server | Severity: | S2 (Serious) |
| Version: | 4.0.24 | OS: | Any (Any) |
| Assigned to: | Sergei Golubchik | Target Version: | |
[15 Apr 2005 7:10]
Lachlan Mulcahy
[15 Apr 2005 7:20]
Lachlan Mulcahy
This is so far only repeatable on 4.0.x; 4.1 seems unaffected.
[15 Apr 2005 19:12]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/24058
[15 Apr 2005 19:13]
Sergei Golubchik
4.1 is affected too. Just make sure t1 is not the first table in the UNION. E.g. INSERT INTO table SELECT 'foo' UNION SELECT field FROM t1 WHERE id > 20;
[16 Apr 2005 18:56]
Sergei Golubchik
Fixed in 4.0.25 and 4.1.12
