gerrit/Documentation
Saša Živkov 1abb73e39e Fix account_patch_reviews for mysql
Creation of the account_patch_reviews table failed on mysql with the
file_name column being set to varchar(4096), see [1].
mysql has a limit of 767 bytes max key length for InnoDb tables.
The max key length limit applies to each column in the (primary key)
index.

MySql uses up to 3 bytes per character when utf8 character set is used.
Therefore, the max length of the file_name column is 255 characgters
when using utf8 character set. This change sets the file_name column
length to 255 when using mysql.

The whole "CREATE TABLE ..." statement is extracted into the
MysqlAccountPatchReviewStore subclass. This gives more freedom
for further mysql specific tuning.

Change-Id: If35aff6c8dc515228c770729bfbf3a83e3dcc6bf
2018-02-15 21:40:22 +00:00
..
2015-05-06 11:25:51 -07:00
2016-07-07 14:06:31 +02:00
2016-07-07 14:06:31 +02:00
2017-10-18 21:55:15 -04:00
2016-11-24 09:52:22 +09:00
2017-03-24 08:36:18 +09:00
2017-01-23 12:44:58 +00:00
2017-07-14 10:48:06 +09:00
2016-10-03 13:32:09 +09:00
2015-04-30 14:37:09 +00:00