Skip to content
This repository has been archived by the owner on Jun 13, 2018. It is now read-only.

[MySQL] Wrong type on column structure #31

Open
rodehoed opened this issue Aug 25, 2015 · 3 comments
Open

[MySQL] Wrong type on column structure #31

rodehoed opened this issue Aug 25, 2015 · 3 comments

Comments

@rodehoed
Copy link

DS files stored in DB get truncated (at 65535 bytes) because the field is defined as a BLOB instead of a BINARY. It's about:

  • table: scaptimony_scap_contents
  • field: scap_file

This seems not be the issue on PG databases. I have checked the other scaptimony column structures and I could not find other problematic types.

@rodehoed
Copy link
Author

Work-around:

ALTER TABLE scaptimony_scap_contents MODIFY COLUMN scap_file LONGBLOB;

Seems to fix stuff 👍

@rodehoed
Copy link
Author

Also found:

  • table: scaptimony_arf_report_raws
  • field: bzip_data

@isimluk
Copy link
Member

isimluk commented Aug 26, 2015

Thanks for report!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants