Bug #7816 | Cross database delete not 100% functional | ||
---|---|---|---|
Submitted: | 11 Jan 2005 18:51 | Modified: | 29 Sep 2008 21:07 |
Reporter: | [ name withheld ] | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1.7 and 4.1.8a tested | OS: | Any |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[11 Jan 2005 18:51]
[ name withheld ]
[2 Feb 2005 5:21]
Sergey Petrunya
Current MySQL does support cross-database delete, but you need to specify the tables without using aliases: delete test1.tmp1, test2.tmp2 from test1.tmp1, test2.tmp2
[3 Feb 2005 0:37]
Sergey Petrunya
We decided not to make any changes in 4.x versions. We intend to improve handling of aliases with multitable delete in version 5.x, but don't set any date or version for this change yet. Passing this to docs team to update the documentation as they see appropriate.
[17 Feb 2005 17:26]
Paul DuBois
I've noted the restriction in the DELETE section of the manual.
[28 Nov 2006 13:12]
Alexey Zakhlestine
5.0.27 this is still not fixed
[29 Sep 2008 21:07]
Konstantin Osipov
Fixed in 6.0 (See Bug#30234)