[MDEV-6523] CONNECT temporary table created Created: 2014-08-03 Updated: 2014-09-11 Resolved: 2014-09-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.12 |
| Fix Version/s: | 10.0.14 |
| Type: | Bug | Priority: | Major |
| Reporter: | Federico Razzoli | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | connect-engine | ||
| Description |
|
If I try to create a file-based CONNECT table, an error message tells me that temp CONNECT tables are not supported. But I was able to create a MYSQL table, which returns junk results when queried:
Instead, I would expect to see an error after CREATE TABLE. |
| Comments |
| Comment by Olivier Bertrand [ 2014-08-08 ] | |||||||||
|
Indeed temporary CONNECT tables are not supported. This is indicated to MariaDB by the flag:
For instance trying to do:
is not accepted and returns the error message:
This is probably tested by the parser and MariaDB issues this message. However in the present case MariaDB fails to test it and leaves the creation to be executed. The junk return is normal because CONNECT is not made to retrieve memory data. My feeling is that this is not a CONNECT problem but a problem with MariaDB not stopping the create of a temporary table when it should do it. | |||||||||
| Comment by Federico Razzoli [ 2014-08-08 ] | |||||||||
|
I tried the following:
Note that the only difference between the 2 statements is that the latter uses table discovery. I hope this helps - if not, please ignore or delete this comment. |