Skip to content
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

Restrict key length for compatibility with older MySQL versions #1196

Merged
merged 1 commit into from
Oct 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion install/inc/schema_mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2185,7 +2185,7 @@ create index i_table_num on ca_attributes(table_num);
create index i_element_id on ca_attributes(element_id);
create index i_row_table_num on ca_attributes(row_id, table_num);
create index i_prefetch ON ca_attributes(row_id, element_id, table_num);
create index i_value_source on ca_attribute_values(value_source);
create index i_value_source on ca_attribute_values(value_source(255));


/*==========================================================================*/
Expand Down
2 changes: 1 addition & 1 deletion support/sql/migrations/173.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/*==========================================================================*/

ALTER TABLE ca_attributes ADD COLUMN value_source varchar(1024) null default null;
CREATE INDEX i_value_source ON ca_attributes(value_source);
CREATE INDEX i_value_source ON ca_attributes(value_source(255));

/*==========================================================================*/

Expand Down