Bug #2600 | SQL_SELECT_LIMIT have influence on subqueries | ||
---|---|---|---|
Submitted: | 1 Feb 2004 10:52 | Modified: | 20 Feb 2004 5:49 |
Reporter: | Florian Mueller | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 4.1.2 | OS: | |
Assigned to: | Oleksandr Byelkin | CPU Architecture: | Any |
[1 Feb 2004 10:52]
Florian Mueller
[3 Feb 2004 11:47]
Dean Ellis
This is not a MySQL Control Center issue. You can circumvent the problem by changing your server configuration (in MySQLCC) to not place a limit on the number of results returned by SELECT statements. However, SQL_SELECT_LIMIT is getting applied to subqueries, which would seem a bug: SET SQL_SELECT_LIMIT=-1; SELECT user FROM mysql.user WHERE user IN ( SELECT user FROM mysql.user ); SET SQL_SELECT_LIMIT=1; SELECT user FROM mysql.user WHERE user IN ( SELECT user FROM mysql.user );
[4 Feb 2004 5:29]
Oleksandr Byelkin
ChangeSet 1.1697 04/02/04 15:26:41 bell@sanja.is.com.ua +5 -0 correct assignment of default limit (BUG#2600)
[20 Feb 2004 5:49]
Oleksandr Byelkin
Thank you for bugreport. bugfix is pushed in our internal repository and will be present in next release