[MDEV-8882] CONNECT Engine - Unable to Merge Mutliple SQLite Created: 2015-10-02 Updated: 2015-10-21 Resolved: 2015-10-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Connect |
| Affects Version/s: | 10.0.19 |
| Fix Version/s: | 10.0.22, 10.1.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Brandon Darbyson | Assignee: | Olivier Bertrand |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Centos 7 |
||
| Description |
|
We're trying to merge two sqlite databases that are similar to those outlined below, and see the following when we try to query the resulting table in MariaDB:
|
| Comments |
| Comment by Olivier Bertrand [ 2015-10-21 ] | ||||||||||
|
The problem is that the sqlite ODBC driver does not recognize the DBQ keyword. The merge table should be created as:
This is all right for simple tables but for multiple tables CONNECT failed to retrieve the database name because only looking for the DBQ keyword. This is what will be fixed in next versions of MariaDB. Meanwhile, you can alternatively merge the tables using the TBL table type:
|