-
Notifications
You must be signed in to change notification settings - Fork 23
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test crashes: Data too long for column 'results' #616
Comments
For Postgres databases we do not seem to have any size limit problem. The field is of type |
Tests have shown that increasing the column from BLOB to MEDIUMBLOB will resolve the issue. See PR #617. |
…e-v2019.2.2 Fix issue #616 and prepare for release v2019.2.2: * Update MySQL/MariaDB create script to increase the size to fit larger results. * Rename current scripts to patch (upgrade) the zonemaster database to get a better naming structure. * Add patch script README. * Add new patch script for MySQL/MariaDB to upgrade "result" column to MEDIUMBLOB. * Rename the document files for the current scripts. * Update the current documents to point at the renamed scripts. * Add document for the new patch script. * Updated MANIFEST with new and change file names. * Updated section on zonemaster database upgrade in the Zonemaster-Backend main README with * Updated links to new document file names. * Added link to new document. * Clarified instructions. * Bumped version of Zonemaster::Backend to v5.0.2. * Updated Changes file as preparation for the release.
Resolved by #617. |
Tests results in error message "DBD::mysql::db do failed: Data too long for column 'results' at row 1 at /usr/local/share/perl/5.26.1/Zonemaster/Backend/DB/MySQL.pm line 208."
Field "results" is of data type
BLOB
, if I get it right, is limited to 64 kB data.I tested .com and .arpa through RPC-API, but the tests do not complete. Testing with CLI is no problem. When I test the following command
the resulting file
test_com.json
is 76 kB.Found in
/var/log/zonemaster/zm-testagent.log
The text was updated successfully, but these errors were encountered: