[MCOL-2072] QueryStats creates a mysql_use_result() warning Created: 2019-01-08 Updated: 2021-09-04 Resolved: 2019-12-09 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 1.2.2 |
| Fix Version/s: | 1.2.6 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Andrew Hutchings (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 2019-06 | ||||||||
| Description |
|
We are using run() to execute the INSERT query for query stats which generates a warning on mysql_use_result() because there is no result set.
We should have a flag in this function to state that we aren't expecting there to be results. |
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2019-01-08 ] |
|
Set to minor because it means the write succeeded, just annoying that there is a warning. |
| Comment by Daniel Lee (Inactive) [ 2019-12-09 ] |
|
Build verified: 1.2.601 engine commit: This warning existed ever since queryStats was implemented. It was treated as a side effect. It is great to see this issue corrected. |