File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/code/Magento/Theme/Model/Indexer/Design Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,8 @@ public function cleanIndex($dimensions)
89
89
// change the charset to utf8mb4
90
90
if ($ tableName === self ::DESIGN_CONFIG_GRID_FLAT ) {
91
91
$ getTableSchema = $ this ->connection ->showTableStatus ($ tableName ) ?? '' ;
92
- if (isset ($ getTableSchema ['Collation ' ]) && preg_match ('/\b( ' . SELF ::OLDCOLLATION .')\b/ ' , $ getTableSchema ['Collation ' ])) {
92
+ if (isset ($ getTableSchema ['Collation ' ]) &&
93
+ preg_match ('/\b( ' . self ::OLDCOLLATION .')\b/ ' , $ getTableSchema ['Collation ' ])) {
93
94
$ charset = $ this ->columnConfig ->getDefaultCharset ();
94
95
$ collate = $ this ->columnConfig ->getDefaultCollation ();
95
96
$ columnEncoding = " CHARACTER SET " .$ charset ." COLLATE " .$ collate ;
You can’t perform that action at this time.
0 commit comments