[MDEV-29453] blob data corrupted by INSERT INTO Created: 2022-09-02 Updated: 2023-02-09 Resolved: 2023-01-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Insert |
| Affects Version/s: | 10.7.5, 10.8.4, 10.9.2, 10.9.4, 10.10.2 |
| Fix Version/s: | 10.11.3, 10.8.8, 10.9.6, 10.10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Michael Roosz | Assignee: | Thirunarayanan Balathandayuthapani |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Description |
|
After creating a sql dump of my drupal database with mysqldump and then importing it into a fresh mariadb installation, I noticed that for two rows the longblob data got corrupted to all binary zeros (but correct length). To make it easier to debug I simplified it to the attached debug.sql file. After importing it with
for mariadb 10.7.5, 10.8.4 and 10.9.2 the following rows get corrupted:
with 10.6.8 it is working correctly:
There is no crash, no error log, no nothing... I was lucky that one of my users noticed the corruption after a few hours. It must be related to the length of the line or the rows, or something like that, because when I create the dump with "--net-buffer-length 500000" the data is imported correctly. update 12/2022:
|
| Comments |
| Comment by Michael Roosz [ 2022-12-30 ] |
|
still present in 10.9.4 and 10.10.2. pretty extreme bug - I need to restore from a sql dump file but I cannot due to this issue. |