]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Migrate remaining TEXT columns to LONGTEXT
authorSteven Hardy <shardy@redhat.com>
Thu, 12 Sep 2013 11:00:28 +0000 (12:00 +0100)
committerSteven Hardy <shardy@redhat.com>
Thu, 12 Sep 2013 11:00:28 +0000 (12:00 +0100)
commit5658b7267d3f7070371fb6a8d54e0c128db9b39b
treee9f7e8aa0382a74423140f10768da011b720d83e
parent6cd54b342a9e364971492fcda90e944cc16a9457
Migrate remaining TEXT columns to LONGTEXT

To avoid cases where mysql silently truncates json data
when it is > 2^16 bytes, migrate all remaining TEXT columns
to LONGTEXT, in a similar way to the fix for bug #1210799

Combined with the fix for bug #1215501 which limits the request
body size, we should never truncate, even if mysql is configured
such that it can happen

Fixes bug #1223029

Change-Id: Ib536cfa8e2952a5e047cd8573288cdd9fee0622c
heat/db/sqlalchemy/migrate_repo/versions/028_text_mysql_longtext.py [new file with mode: 0644]