[MDEV-4771] Connect SE: Connection dies using table_type=pivor Created: 2013-07-09 Updated: 2013-07-12 Resolved: 2013-07-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.3 |
| Fix Version/s: | 10.0.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | erkan yanar | Assignee: | Olivier Bertrand |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | connect-engine | ||
| Environment: |
Linux/Ubuntu/Precise/LXContainer |
||
| Description |
|
Creating a pivot table (Connect SE) and selecting from the table works.
That is written into the error log:
Regards |
| Comments |
| Comment by Olivier Bertrand [ 2013-07-10 ] |
|
I could not reproduce such error with the current version of CONNECT. Do debug I need to know exactly what was executed and, in particular, to Regards, Olivier |
| Comment by erkan yanar [ 2013-07-10 ] |
|
like that: #v
|
| Comment by Olivier Bertrand [ 2013-07-10 ] |
|
Thanks, I shall work on it. |
| Comment by Olivier Bertrand [ 2013-07-10 ] |
|
Cannot reproduce on Windows and ubuntu |
| Comment by erkan yanar [ 2013-07-10 ] |
|
So it's 'gone' with the current version or some settings on my side. |
| Comment by Olivier Bertrand [ 2013-07-11 ] |
|
Sorry erkan, I wrongly thought it was working on ubuntu but it turned Because of this, and also on some valgring warnings, the next version of |
| Comment by Olivier Bertrand [ 2013-07-11 ] |
|
Is indeed failing on Linux |
| Comment by Olivier Bertrand [ 2013-07-11 ] |
|
Further investigation shows that this bug is related to the use of the query cache. Before this is fixed (by preventing queries on PIVOT tables to be cached, as for queries on partitioned tables) a bypass is to specify the query_cache_size variable to 0. This makes the query cache not used. |
| Comment by erkan yanar [ 2013-07-11 ] |
|
Ahoi Olivier, Thx! |
| Comment by Olivier Bertrand [ 2013-07-12 ] |
|
Because CONNECT works on external data that can be modified any time out of MariaDB, it must not use the query cache. Therefore, query cache has been permanently disabled for CONNECT tables. |