You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DELETE FROM %s.%s WHERE (%s) = (%s);
The same WHERE clause works for SELECT case, hitting index, but not for DELETE.
http://bugs.mysql.com/bug.php?id=43187
According to the age of the issue, I don't think it would be fixed soon:)
Rewriting WHERE clause to "col1 = value1, col2 = value2, ..." does help.
Original issue reported on code.google.com by [email protected] on 1 Nov 2011 at 3:43
The text was updated successfully, but these errors were encountered:
That's interesting.
I've handled a similar case with (%,%,%) > (%,%,%) not being able to properly
use index; you can see in oak-online-alter-table an ugly code which translates
this kind of equation to a multipart sub cases.
I wasn't aware that this can actually happen on plain equation!
Will have to fix it, then...
Original issue reported on code.google.com by
[email protected]
on 1 Nov 2011 at 3:43The text was updated successfully, but these errors were encountered: