Bug #89918 | Operation with user-defined variables depends on index | ||
---|---|---|---|
Submitted: | 5 Mar 2018 17:06 | Modified: | 7 Mar 2018 10:55 |
Reporter: | jocelyn fournier | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.5, 5.6, 5.7, 8 | OS: | Any |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[5 Mar 2018 17:06]
jocelyn fournier
[7 Mar 2018 10:55]
MySQL Verification Team
Hi, This is not a bug. The value of that variable will change depending on the query plan and we do not guarantee query plan execution in any way. We guarantee that results will be proper (as they are) but the way we get to those and order we get to them we do not guarantee hence what you are doing is unsupported and not something we suggest as even if in some version of mysql in some case you get it to work it can be broken silently after mysql upgrade or after table change. kind regards Bogdan