| Bug #35138 | Incompatible SELECT options should not be allowed. | ||
|---|---|---|---|
| Submitted: | 7 Mar 2008 10:57 | Modified: | 24 Mar 2008 8:20 |
| Reporter: | Martin Hansson | ||
| Status: | Verified | ||
| Category: | Server: Parser | Severity: | S3 (Non-critical) |
| Version: | 5.1, 6.0 | OS: | Any |
| Assigned to: | Martin Hansson | Target Version: | |
| Triage: | Triaged: D4 (Minor) | ||
[7 Mar 2008 10:57]
Martin Hansson
[12 Mar 2008 0:50]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/43752 ChangeSet@1.2609, 2008-03-11 12:30:36+01:00, mhansson@riffraff.(none) +5 -0 Bug#35138: illegal sql_cache select syntax The options SQL_CACHE and SQL_NO_CACHE were allowed in combination in any SELECT queries, where the use of one should deny use of the other. Fixed by adding flags to the parse tree and a semantic check after parsing.
[12 Mar 2008 0:54]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/43760 ChangeSet@1.2609, 2008-03-11 15:05:53+01:00, mhansson@riffraff.(none) +5 -0 Bug#35138: illegal sql_cache select syntax The options SQL_CACHE and SQL_NO_CACHE were allowed in combination in any SELECT queries, where the use of one should deny use of the other. Fixed by adding flags to the parse tree and a semantic check after parsing.
[12 Mar 2008 1:00]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/43768 ChangeSet@1.2609, 2008-03-11 14:45:48+01:00, mhansson@riffraff.(none) +5 -0 Bug#35138: illegal sql_cache select syntax The options SQL_CACHE and SQL_NO_CACHE were allowed in combination in any SELECT queries, where the use of one should deny use of the other. Fixed by adding flags to the parse tree and a semantic check after parsing.
[14 Mar 2008 0:34]
Marc Alff
Sent review comments by email, proposed an alternate solution, to investigate.
[24 Mar 2008 8:20]
Martin Hansson
I will start working on this bug after Bug#35020 is pushed, as they have code in common.
[2 Jul 18:18]
Paul DuBois
Looks like Bug#35020 was pushed a year ago.
