Bug #41226 | wrong update in multi update | ||
---|---|---|---|
Submitted: | 4 Dec 2008 13:13 | Modified: | 5 Dec 2008 0:50 |
Reporter: | Tomas Ulin | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.1 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[4 Dec 2008 13:13]
Tomas Ulin
[5 Dec 2008 0:50]
Omer Barnir
This is not a bug. The correct syntax is to use a comma not an 'and' update t1,t2 set t1.b=7, t2.c=9 where t1.a=1 and t2.a=1 and t2.b=1;