[MDEV-13463] Unescaped table name during detection of table structure Created: 2017-08-07 Updated: 2020-12-01 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Connect |
| Affects Version/s: | 10.0, 10.1, 10.1.25, 10.2 |
| Fix Version/s: | 10.2 |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Pavel Hadač | Assignee: | Olivier Bertrand |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Engine CONNECT doesn't escape table name when autodetecting table structure for TABLE_TYPE=MYSQL using SHOW columns FROM source_table. That means that following query fails:
Escaping table name within the CREATE doesn't help. The CREATE works, but the engine retrieves data using invalid double escaped query
The create works fine with explicit definition of columns. |