Bug #64934 LINQ to SQL's Contains() generates many "ORs" instead of the faster "IN"
| Submitted: | 10 Apr 2012 22:32 | Modified: | 19 Jul 2012 22:44 |
|---|---|---|---|
| Reporter: | Alex K. | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Connector / NET | Severity: | S3 (Non-critical) |
| Version: | 6.5.4 | OS: | Windows (7 x64) |
| Assigned to: | Fernando Gonzalez.Sanchez | CPU Architecture: | Any |
| Tags: | .net Connector, C#, contains, EF, entity framework, IN, linq, list, OR, performance | ||
[10 Apr 2012 22:32]
Alex K.
[19 Jul 2012 22:44]
John Russell
Added to changelog for 6.5.5: The LINQ to SQL data provider for MySQL was generating inefficient code for the Contains() method, producing a query with multiple OR clauses instead of the more efficient IN clause.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.050 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.