Skip to content

Commit

Permalink
Merge branch 'main' into patch-1852154-harmony
Browse files Browse the repository at this point in the history
  • Loading branch information
justdave authored Aug 20, 2024
2 parents 0eec276 + 39cddb6 commit 86c6c4e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Bugzilla/DB/MariaDB.pm
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ sub bz_setup_database {
print
"Converting table storage format to $charset (collate $collate). This may take a while.\n";
foreach my $table ($self->bz_table_list_real) {
my $info_sth = $self->prepare("SHOW FULL COLUMNS FROM $table");
my $info_sth = $self->prepare("SHOW FULL COLUMNS FROM " . $self->quote_identifier($table));
$info_sth->execute();
my (@binary_sql, @utf8_sql);
while (my $column = $info_sth->fetchrow_hashref) {
Expand Down
2 changes: 1 addition & 1 deletion Bugzilla/DB/Mysql.pm
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ sub bz_setup_database {
print
"Converting table storage format to $charset (collate $collate). This may take a while.\n";
foreach my $table ($self->bz_table_list_real) {
my $info_sth = $self->prepare("SHOW FULL COLUMNS FROM $table");
my $info_sth = $self->prepare("SHOW FULL COLUMNS FROM " . $self->quote_identifier($table));
$info_sth->execute();
my (@binary_sql, @utf8_sql);
while (my $column = $info_sth->fetchrow_hashref) {
Expand Down
4 changes: 2 additions & 2 deletions docker/mysql/bugzilla-mysql56.cnf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[mysqld]
max_allowed_packet = 64M
innodb_file_format = Barracuda
innodb_file_per_table = 1
innodb_large_prefix = 1
innodb_file_per_table = ON
innodb_large_prefix = ON

[mysql]
max_allowed_packet = 64M
4 changes: 2 additions & 2 deletions template/en/default/setup/strings.txt.pl
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,8 @@ END
mysql_innodb_settings => <<'END',
Bugzilla requires the following MySQL InnoDB settings:
innodb_file_format = Barracuda
innodb_file_per_table = 1
innodb_large_prefix = 1
innodb_file_per_table = ON
innodb_large_prefix = ON
END
mysql_index_renaming => <<'END',
We are about to rename old indexes. The estimated time to complete
Expand Down

0 comments on commit 86c6c4e

Please sign in to comment.