[MDEV-7614] CONNECT can't perform ORDER BY queries on some long columns Created: 2015-02-20 Updated: 2022-09-12 Resolved: 2022-09-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.0.16 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Olivier Bertrand |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | connect-engine | ||
| Description |
|
CONNECT returns the following error when performing ORDER BY queries on some longer columns:
For example, I'll create a table on MS SQL Server and insert some data:
Then I'll create the CONNECT table:
And then I'll try to query it. Some queries succeed, while others fail:
|
| Comments |
| Comment by Olivier Bertrand [ 2015-02-23 ] |
|
This is not technically a "bug" but a limitation due to CONNECT not implementing yet random access to ODBC tables. (For instance this is why ODBC tables are not indexable) Depending on a column being long or short, MariaDB uses different techiques to order the result and this is why it works on some cases and not in some other cases. |
| Comment by Sergei Golubchik [ 2022-09-12 ] |
|
10.0 was EOLed in March 2019 |