Opened 15 years ago
Closed 15 years ago
#9651 closed Bug Report - General (Duplicate)
"length mismatch between programinfo" error v0.23
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | major | Milestone: | unknown |
| Component: | MythTV - General | Version: | 0.23-fixes |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
When EIT data consist some garbage (for example binary data) and this data are saved to recorded table into text fields, some MythTV function crash with "length mismatch between programinfo" message.
For example "Watch Recordings" list is empty, but I can see recorded things in "Previous Recorded" list.
When I manually correct the table all works fine to the next recording.
In my case affected fields is a subtitle and description.
I am attaching a file with an incorrect and a corrected recorded table.
Attachments (4)
Change History (7)
by , 15 years ago
| Attachment: | recorded_incorrect.sql.zip added |
|---|
by , 15 years ago
| Attachment: | recorded_corrected.sql.zip added |
|---|
comment:1 by , 15 years ago
by , 15 years ago
| Attachment: | sql_trigger.sql added |
|---|
comment:2 by , 15 years ago
Posted SQL code has been changed by a website parser and not work.
sql_trigger.sql consist valid code.

I prepare simple workaround for this error:
delimiter
CREATE TRIGGER recorded_check_insert BEFORE INSERT ON recorded FOR EACH ROW BEGIN
END;
CREATE TRIGGER recorded_check_update BEFORE UPDATE ON recorded FOR EACH ROW BEGIN
END;
CREATE TRIGGER program_check_insert BEFORE INSERT ON program FOR EACH ROW BEGIN
END;
CREATE TRIGGER program_check_update BEFORE UPDATE ON program FOR EACH ROW BEGIN
END;
delimiter ;