[ODBC-360] Unable to get data from tables with VarChar or Char as primary keys Created: 2022-05-10 Updated: 2022-08-16 |
|
| Status: | Stalled |
| Project: | MariaDB Connector/ODBC |
| Component/s: | General |
| Affects Version/s: | 3.1.15 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical |
| Reporter: | Dallas Ailes | Assignee: | Lawrin Novitsky |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Environment: |
MariaDB back-end; MS Access front-end; Windows 10; Office version: version 2205 (Build 15225.20092) |
||
| Attachments: |
|
| Description |
|
Showed up this morning. Enterprise wide. Get "deleted" as field values. Verified data is still available through database editor. But, ODBC connector seems to be invalid now for any tables using Char or VarChar as primary keys. Confirmed combo primary keys still work as long as primary keys are any integers. Possible windows/office updates the cause, but still an issue between MS and MariaDB (seems to also affect Oracle db's: https://answers.microsoft.com/en-us/msoffice/forum/all/ms-access-displays-deleted-in-every-field-for/593e5f12-3cbd-414e-841c-9df612504d3c?page=2 |
| Comments |
| Comment by Dallas Ailes [ 2022-06-08 ] |
| Comment by Lawrin Novitsky [ 2022-06-09 ] |
|
Dallas A But you didn't try with that new version, do you? I couldn't fix it so far in the driver. I've got to the point where I could not understand why doesn't it work. Maybe indeed there is/was some issue in the Access itself, but I don't really hope for that. MySQL driver has the same problem, though. Btw, I see the problem only when key field contains non-ascii caharacters. Otherwise works fine for me. Could you confirm you have it the same way? |
| Comment by Dallas Ailes [ 2022-06-09 ] |
|
Yes, I confirm that it was any non-integer key. I'm using utf8mb4 charset. I needed to for some reason. |
| Comment by Lawrin Novitsky [ 2022-06-15 ] |
|
Dallas A Could you pleased check if your Access is 32b or 64b? |
| Comment by Dallas Ailes [ 2022-06-15 ] |
|
We have all switched to 64b in my company. |
| Comment by Álex Costas [ 2022-06-16 ] |
|
In 32b is the same problem. |
| Comment by Lawrin Novitsky [ 2022-06-18 ] |
|
Unfortunately it won't make into the coming release, as we don't have the solution yet. As I said, but maybe was not very clear - I understand where the problem is. But fixing got me to the point, that situation with varchar keys got even worse, while everything in the odbc trace or while tracing the execution, looks to be correct. |