[MDEV-14594] Intermittent no results from query Created: 2017-12-05 Updated: 2017-12-11 Resolved: 2017-12-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 5.5.52 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Robert G | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux |
||
| Attachments: |
|
| Description |
|
I have a query. The query usually succeeds when executed from MySql Workbench and usually fails when executed with Python pymysql library. The query is as follows:
The query should return string, followed by float, followed by long.
All of that implies that there's something tricky with the server. By the way, I've almost forgotten. I can try to provide at least wireshark dumps (where they don't reveal anything). I'm reporting it early to not forget about it (when having the workaround). Regards, |
| Comments |
| Comment by Elena Stepanova [ 2017-12-11 ] |
|
It is documented explicitly both in MariaDB KB and MySQL manual that assigning and using variables in the same SELECT statement is unsafe and can cause unpredictable results.
If you can reproduce a similar problem without using statements which are known to be non-deterministic, please comment and the issue will be re-opened. |