Skip to content

Commit

Permalink
force all new tables to be created with InnoDB storage engine (#862)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbraswell authored Jan 14, 2023
1 parent 54e40f5 commit 77f7cb5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## 3.0.1 (TBD)
* Fix for location search in admin ui.
## 3.0.1 (January 14, 2023)
* Fixed an issue where upgrades would fail on certain web hosts without InnoDB set as the default MySQL storage engine.
* Fixed an issue with the 'This is a Location or PostCode' option in the Admin UI.

## 3.0.0 (January 13, 2023)
* PHP 8.0 or 8.1 are now required. PHP 7.x is no longer supported.
Expand Down
4 changes: 2 additions & 2 deletions src/config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
'prefix' => legacy_config('db_prefix') ? legacy_config('db_prefix') . '_' : 'test_',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'engine' => 'InnoDB',
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
Expand All @@ -69,7 +69,7 @@
'prefix' => legacy_config('db_prefix') ? legacy_config('db_prefix') . '_' : 'test_',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'engine' => 'InnoDB',
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
Expand Down
2 changes: 1 addition & 1 deletion src/legacy/local_server/install_wizard/installer_ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function whitespace_warnings()
'prefix' => $http_vars['dbPrefix'] . '_',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'engine' => 'InnoDB',
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
Expand Down

0 comments on commit 77f7cb5

Please sign in to comment.